html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #f9f5dc;
  color: #1a1a1a;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0;
  max-width: 62ch;
  color: rgba(26, 26, 26, 0.68);
  font-size: 17px;
  line-height: 1.68;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.case-demo-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  background: #1a1a1a;
  color: #f9f5dc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-demo-link:hover {
  background: #2d6e40;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
}

.mc-site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 245, 220, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease;
}

.mc-site-nav.scrolled {
  border-bottom-color: rgba(26, 26, 26, 0.15);
}

.mc-nav-inner {
  width: min(1200px, calc(100% - 160px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 28px;
}

.mc-nav-logo img {
  height: 24px;
  width: auto;
}

.mc-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mc-nav-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2d6e40;
  border-bottom: 1px solid #2d6e40;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mc-nav-pill:hover {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

.mc-nav-pill.primary {
  color: #2d6e40;
}

.frame-section {
  width: min(1200px, calc(100% - 160px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 32px;
  color: #2d6e40;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.case-hero {
  padding: 118px 0 72px;
}

.case-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 80px;
  align-items: end;
}

.case-hero h1 {
  max-width: 14ch;
  color: #1a1a1a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(56px, 8.4vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.lead {
  margin-top: 34px;
  color: rgba(26, 26, 26, 0.72);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.55;
  max-width: 58ch;
}

.case-fact-card {
  padding: 30px;
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0;
}

.case-fact-card img {
  width: 210px;
  margin-bottom: 30px;
}

.case-fact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.case-fact-card div {
  display: grid;
  gap: 4px;
}

.case-fact-card dt {
  color: rgba(26, 26, 26, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-fact-card dd {
  margin: 0;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.45;
}

.case-disclosure {
  margin-top: 36px;
  padding: 18px 20px;
  max-width: none;
  background: rgba(45, 110, 64, 0.08);
  border: 1px solid rgba(45, 110, 64, 0.28);
  color: rgba(26, 26, 26, 0.76);
  font-size: 15px;
}

.hero-image {
  margin: 64px 0 0;
  padding: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.15);
  box-shadow: 0 30px 80px rgba(26, 26, 26, 0.16);
}

.hero-image img {
  width: 100%;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 92px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.case-grid article {
  min-height: 300px;
  padding: 30px;
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.case-grid span {
  color: #2d6e40;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.case-grid h2, .section-copy h2, .case-section-head h2 {
  margin: 24px 0 18px;
  color: #1a1a1a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
  padding: 118px 0;
}

.split-section.reverse {
  grid-template-columns: 1.14fr 0.86fr;
}

.panel {
  padding: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.14);
  box-shadow: 0 28px 70px rgba(26, 26, 26, 0.12);
}

.panel.light {
  background: rgba(26, 26, 26, 0.04);
}

.panel img {
  width: 100%;
}

.brand-stack {
  display: grid;
  gap: 20px;
  padding: 38px;
  background: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.14);
  box-shadow: 0 28px 70px rgba(26, 26, 26, 0.12);
}

.brand-stack img:first-child {
  width: 112px;
}

.brand-stack img:nth-child(2) {
  width: min(420px, 100%);
}

.brand-stack img:nth-child(3) {
  width: min(220px, 80%);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 18px 0 112px;
}

.application-grid article {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.application-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #1a1a1a;
}

.application-grid h3 {
  color: #1a1a1a;
  font-size: 22px;
  line-height: 1.3;
}

.application-grid p {
  font-size: 15px;
}

.outcome {
  margin-bottom: 118px;
  padding: 64px;
  background: #1a1a1a;
  color: #f9f5dc;
}

.outcome .eyebrow {
  color: #00a651;
}

.outcome h2 {
  max-width: 14ch;
  color: #f9f5dc;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.outcome p {
  margin-top: 24px;
  color: rgba(249, 245, 220, 0.68);
}

.mc-site-footer {
  background: #1a1a1a;
  color: #f9f5dc;
  padding: 64px 0 48px;
  border-top: 1px solid rgba(249, 245, 220, 0.15);
}

.mc-footer-inner {
  width: min(1200px, calc(100% - 160px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.mc-footer-logo img {
  height: 24px;
  width: auto;
  margin-bottom: 16px;
}

.mc-footer-tagline {
  color: rgba(249, 245, 220, 0.55);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
}

.mc-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: rgba(249, 245, 220, 0.55);
  font-size: 14px;
}

.mc-footer-meta a {
  color: #f9f5dc;
  border-bottom: 1px solid rgba(249, 245, 220, 0.15);
  padding-bottom: 1px;
}

.mc-footer-meta a:hover {
  color: #00a651;
  border-bottom-color: #00a651;
}

.mc-footer-meta span {
  margin-top: 16px;
  color: rgba(249, 245, 220, 0.55);
  font-size: 13px;
}

@media (max-width: 980px) {
  .mc-nav-inner, .frame-section, .mc-footer-inner {
    width: min(1200px, calc(100% - 48px));
  }

  .case-hero-layout, .split-section, .split-section.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-grid, .application-grid {
    grid-template-columns: 1fr;
  }

  .case-hero {
    padding-top: 70px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .mc-nav-inner {
    align-items: flex-start;
    display: grid;
    min-height: 0;
    padding: 16px 0;
  }

  .mc-nav-links {
    width: 100%;
    gap: 18px;
    justify-content: flex-start;
  }

  .case-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 58px);
    overflow-wrap: break-word;
  }

  .lead {
    font-size: 18px;
  }

  .case-hero, .split-section {
    padding: 72px 0;
  }

  .case-grid {
    padding: 64px 0;
  }

  .outcome {
    margin-bottom: 72px;
    padding: 38px 24px;
  }

  p, .lead, .case-disclosure {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .mc-footer-inner {
    display: grid;
  }

  .mc-footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .mc-nav-inner, .frame-section, .mc-footer-inner {
    width: calc(100% - 40px);
  }

  .case-fact-card, .brand-stack, .case-grid article {
    padding: 24px;
  }

  .hero-image, .panel, .application-grid article {
    padding: 12px;
  }
}
