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", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

p, h1, h2, h3 {
  margin: 0;
}

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

.mc-site-nav.scrolled {
  background: rgba(249, 245, 220, 0.94);
  border-bottom-color: rgba(26, 26, 26, 0.15);
}

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

.mc-nav-logo img,
.mc-footer-logo img {
  display: block;
  width: auto;
  height: 24px;
}

.mc-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(26, 26, 26, 0.66);
  font-size: 14px;
  font-weight: 700;
}

.mc-nav-pill, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mc-nav-pill {
  min-height: 38px;
  padding: 8px 15px;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(26, 26, 26, 0.18);
}

.mc-nav-pill.primary {
  color: #f9f5dc;
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.mc-nav-pill.primary:hover {
  color: #1a1a1a;
  background: #00a651;
  border-color: #00a651;
}

.button.dark {
  color: #f9f5dc;
  background: #1a1a1a;
}

.button.light {
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(26, 26, 26, 0.28);
}

.frame-section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.case-hero {
  padding: 82px 0 86px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.case-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.confetti-layer {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-image: none;
  pointer-events: none;
}

.hero-confetti {
  display: none;
}

.card-confetti {
  z-index: 0;
  opacity: 0.18;
  background-size: 360px auto;
  mix-blend-mode: multiply;
}

.case-hero-copy, .case-hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow, .metric-label, .tile-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #00a651;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-hero h1 {
  max-width: 10.4ch;
  margin-top: 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 58ch;
  margin-top: 28px;
  color: rgba(26, 26, 26, 0.68);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.case-hero-media {
  display: grid;
  align-content: stretch;
  gap: 18px;
}

.brand-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #101010;
  background: #ffd43b;
  border: 3px solid #101010;
  border-radius: 28px;
  box-shadow: 10px 10px 0 #101010;
}

.brand-card img {
  position: relative;
  z-index: 1;
  width: min(88%, 380px);
  filter: drop-shadow(6px 8px 0 rgba(16, 16, 16, 0.22));
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fact {
  padding: 18px;
  color: #101010;
  background: #fff4d8;
  border: 3px solid #101010;
  border-radius: 18px;
  box-shadow: 5px 5px 0 #101010;
}

.fact span {
  display: block;
  margin-bottom: 8px;
  color: #159947;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.case-disclosure {
  max-width: 70ch;
  margin-top: 24px;
  color: rgba(26, 26, 26, 0.62);
  font-size: 14px;
  line-height: 1.62;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 80px 0;
}

.summary-card {
  min-height: 240px;
  padding: 24px;
  background: #fffdf1;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 26px;
}

.summary-card span {
  display: block;
  margin-bottom: 40px;
  color: #2d6e40;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary-card h2 {
  margin-bottom: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
}

.summary-card p, .body-copy p, .result-card p, .closing-card p {
  color: rgba(26, 26, 26, 0.68);
  font-size: 16px;
  line-height: 1.65;
}

.visual-section {
  padding: 20px 0 96px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header h2, .closing-card h2 {
  margin-top: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.body-copy {
  display: grid;
  gap: 16px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.72fr);
  gap: 18px;
}

.browser-card, .phone-card, .result-card, .closing-card {
  overflow: hidden;
  background: #fffdf1;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 30px;
}

.browser-card {
  padding: 16px;
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0 14px;
}

.browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.24);
}

.browser-card img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(26, 26, 26, 0.12);
}

.side-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.phone-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 18px;
  align-items: center;
  color: #101010;
  background: #b8f23a;
  border: 3px solid #101010;
  box-shadow: 8px 8px 0 #101010;
}

.phone-frame {
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 8px solid #101010;
  border-radius: 28px;
  background: #101010;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-card h3, .result-card h3 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.phone-card p {
  color: rgba(16, 16, 16, 0.72);
  font-size: 15px;
  line-height: 1.5;
}


.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0 96px;
}

.result-card {
  padding: 26px;
}

.result-card strong {
  display: block;
  margin-bottom: 14px;
  color: #2d6e40;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing-section {
  padding: 4px 0 100px;
}

.closing-card {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(300px, 0.6fr);
  gap: 34px;
  align-items: center;
  padding: clamp(26px, 5vw, 54px);
  color: #f9f5dc;
  background: #1a1a1a;
}

.closing-card p {
  color: rgba(249, 245, 220, 0.72);
}

.closing-card h2 + p {
  margin-top: 22px;
}

.closing-card .button.light {
  color: #1a1a1a;
  background: #f9f5dc;
  border-color: #f9f5dc;
}

.closing-logo {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px;
  background: #fff4d8;
  border: 3px solid #101010;
  border-radius: 26px;
  box-shadow: 8px 8px 0 #00a651;
}

.closing-logo img {
  width: min(96%, 360px);
}

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

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

.mc-footer-logo img {
  margin-bottom: 16px;
}

.mc-footer-tagline {
  margin: 0;
  color: rgba(249, 245, 220, 0.55);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mc-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
  color: #f9f5dc;
  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 .mc-legal {
  margin-top: 16px;
  color: rgba(249, 245, 220, 0.55);
  font-size: 13px;
}

@media (max-width: 980px) {
  .case-hero-shell, .section-header, .showcase-grid, .closing-card {
    grid-template-columns: 1fr;
  }

  .summary-grid, .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 680px) {
  .mc-nav-inner,
  .mc-footer-inner {
    width: min(1240px, calc(100% - 34px));
  }

  .mc-nav-inner {
    min-height: 76px;
  }

  .mc-nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .mc-nav-links > a:first-child {
    display: none;
  }

  .mc-nav-pill {
    min-height: 34px;
    padding: 7px 12px;
  }

  .mc-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mc-footer-meta {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

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

  .case-hero h1 {
    font-size: clamp(48px, 17vw, 76px);
  }

  .fact-strip, .summary-grid, .result-grid, .phone-card {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 230px;
  }
}
