@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color: #17191d;
  background: #f8f7f3;
  font: 16px/1.65 Manrope, Arial, sans-serif;
  --blue: var(--market-primary);
  --muted: #575a63;
  --line: var(--market-line);
  --gutter: clamp(16px, 5vw, 82px);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .26em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 550; letter-spacing: -.055em; line-height: 1.05; text-wrap: balance; }

.case-live-link { color: var(--blue); }
.case-hero { padding-block: 0 clamp(24px, 4vw, 54px); }
.case-kicker { color: var(--blue); font-size: .8125rem; font-weight: 750; letter-spacing: .035em; }
.case-kicker span { padding-inline: .35em; color: #737681; }
.case-hero h1 { margin-block: 18px 22px;  }
.case-intro { max-width: 48ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.28rem); }
.case-live-link { display: inline-block; margin-top: 18px; font-size: .875rem; font-weight: 750; }

.case-changes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-changes article { padding: clamp(20px, 3vw, 42px); background: #fff; }
.case-changes article + article { background: var(--market-selection); }
.case-changes h2 { max-width: 20ch; margin-block: 13px 14px; font-size: clamp(1.6rem, 3vw, 2.65rem); }
.case-changes article > p:last-child { max-width: 60ch; color: var(--muted); }
.case-changes strong { color: #22252d; }

.case-proof {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 2.2vw, 28px);
  padding-block: clamp(44px, 7vw, 100px);
}

.case-proof-intro { padding: 8px clamp(0px, 1vw, 12px) 12px 0; }
.case-proof h2 { margin-block: 13px 20px; font-size: clamp(1.8rem, 3.75vw, 3.3rem); }
.case-proof ol { margin: 0 0 20px; padding-left: 1.5em; color: var(--muted); }
.case-proof li { padding-left: .15em; }
.case-proof li + li { margin-top: .55em; }
.case-proof li::marker { color: var(--blue); font-weight: 800; }
.case-note { color: var(--muted); font-size: .8125rem; }
.case-screen { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.case-screen figcaption { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 800; }
.case-screen figcaption span { display: block; color: var(--muted); font-size: .75rem; font-weight: 550; }
.case-screen img { width: 100%; }

.case-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: clamp(22px, 5vw, 68px);
  color: #fff;
  background: var(--blue);
}
.case-cta h2 { font-size: clamp(1.9rem, 4.6vw, 4.1rem); }
.case-cta p { max-width: 55ch; margin-top: 16px; }
.case-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid #fff;
  border-radius: 32px;
  background: #fff;
  color: var(--market-primary);
  font-size: .9375rem;
  font-weight: 800;
  text-decoration: none;
}
.case-cta a:hover { background: var(--market-selection); }
.case-cta a:focus-visible { outline-color: #fff; }
.case-footer { color: var(--muted); }

@media (max-width: 760px) {
  .case-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-proof-intro { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .case-site-header { align-items: flex-start; flex-direction: column; }
  .case-site-header nav { justify-content: space-between; width: 100%; }
  .case-site-header nav a { padding-block: 8px; }
  .case-break { display: none; }
  .case-changes, .case-proof { grid-template-columns: minmax(0, 1fr); }
  .case-screen { width: min(100%, 390px); }
  .case-cta a { width: 100%; }
}
