:root {
  --brand-blue: #186295;
  --brand-blue-dark: #124f79;
  --brand-blue-soft: #f3f8fb;
  --footer-bg: #102b3d;
  --ink: #1f2933;
  --muted: #5b6670;
  --line: #dce7ee;
  --line-strong: #c7d9e5;
  --white: #ffffff;
  --cream: #f8f5ef;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(16, 43, 61, .10);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

h1,
h2,
h3,
.eyebrow,
.btn,
.site-nav a,
.strip-label,
.metric strong,
.build-number {
  font-family: "Poppins", Arial, sans-serif;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .62);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav .nav-cta {
  padding-inline: 17px;
  border-radius: 9px;
  background: var(--brand-blue);
  color: var(--white);
}

.case-hero {
  padding: 90px 0 76px;
  background:
    radial-gradient(circle at 88% 8%, rgba(24, 98, 149, .12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.hero-copy {
  max-width: 850px;
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid var(--brand-blue);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-blue);
}

.hero-browser {
  overflow: hidden;
  margin: 58px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.browser-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}

.browser-bar > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #cbd5dc;
}

.browser-address {
  min-width: 0;
  margin-left: 10px;
  overflow: hidden;
  color: #7a8790;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-browser img {
  width: 100%;
  height: auto;
}

.project-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.project-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.project-strip-grid > div {
  min-height: 126px;
  padding: 28px 26px;
}

.project-strip-grid > div + div {
  border-left: 1px solid var(--line);
}

.strip-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-strip strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--brand-blue-soft);
}

.section-dark {
  background: var(--footer-bg);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
  gap: 86px;
  align-items: start;
}

.story-copy > p:not(.eyebrow) {
  max-width: 720px;
}

.brief-points {
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.brief-points > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}

.brief-points span {
  padding-top: 2px;
  color: var(--brand-blue);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.brief-points p {
  margin: 0;
  font-size: 14px;
}

.brief-points strong {
  color: var(--ink);
}

.photo-card,
.screen-card,
.proof-screen,
.proof-large {
  margin: 0;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: auto;
}

.photo-card figcaption,
.screen-card figcaption,
.proof-large figcaption {
  padding: 15px 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 78px;
  align-items: end;
}

.split-heading p:last-child {
  margin: 0;
}

.build-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 72px;
  align-items: start;
}

.build-list {
  border-top: 1px solid var(--line-strong);
}

.build-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}

.build-number {
  padding-top: 2px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
}

.build-list h3 {
  margin-bottom: 7px;
}

.build-list p {
  margin: 0;
  font-size: 14px;
}

.build-media {
  display: grid;
  gap: 24px;
}

.screen-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.screen-card img {
  width: 100%;
  height: auto;
}

.results-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}

.results-intro p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.metric {
  padding: 36px 28px;
}

.metric + .metric {
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .70);
  font-size: 14px;
}

.metric-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .50) !important;
  font-size: 12px;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 48px;
  align-items: start;
  margin-top: 54px;
}

.proof-screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: #fff;
}

.proof-screen img {
  width: 100%;
  height: auto;
}

.results-copy {
  padding: 30px 0 0;
}

.results-copy p {
  color: rgba(255, 255, 255, .72);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-blue);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.light-link {
  color: var(--white);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 52px;
  align-items: start;
}

.proof-large {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.proof-large img {
  width: 100%;
  height: auto;
}

.proof-notes {
  border-top: 1px solid var(--line-strong);
}

.proof-notes article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}

.proof-notes h3 {
  margin-bottom: 5px;
}

.proof-notes p {
  margin: 0;
  font-size: 14px;
}

.final-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 60px;
  align-items: center;
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.final-proof .proof-screen {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.final-proof p:last-child {
  margin-bottom: 0;
}

.final-cta {
  padding: 84px 0;
  background: var(--brand-blue);
  color: var(--white);
}

.final-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
}

.final-cta p:not(.eyebrow) {
  max-width: 670px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
}

.btn-white {
  border-color: var(--white);
  background: var(--white);
  color: var(--brand-blue);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .72);
  background: transparent;
  color: var(--white);
}

.site-footer {
  padding: 44px 0 28px;
  background: var(--footer-bg);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .story-grid,
  .split-heading,
  .build-layout,
  .results-intro,
  .results-grid,
  .proof-layout,
  .final-proof {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .project-strip-grid > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-strip-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .build-media {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    align-items: start;
  }

  .results-copy {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand span,
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .case-hero {
    padding: 62px 0 64px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-browser {
    margin-top: 40px;
    border-radius: 14px;
  }

  .browser-address {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .project-strip-grid,
  .metrics,
  .build-media {
    grid-template-columns: 1fr;
  }

  .project-strip-grid > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 70px 0;
  }

  .story-grid,
  .split-heading,
  .build-layout,
  .results-intro,
  .results-grid,
  .proof-layout,
  .final-proof {
    gap: 34px;
  }

  .photo-card {
    max-width: 520px;
  }

  .brief-points > div,
  .build-list article {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .metric {
    padding: 28px 0;
  }

  .metric + .metric {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .final-proof {
    margin-top: 58px;
    padding-top: 58px;
  }

  .final-cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta .hero-actions {
    width: 100%;
  }
}
