:root {
  --navy: #0c2a51;
  --blue: #0878c9;
  --cyan: #08b8d6;
  --ink: #12213a;
  --muted: #5f6f84;
  --line: #dce6f0;
  --surface: #ffffff;
  --tint: #f3f7fb;
  --shadow: 0 24px 65px rgba(12, 42, 81, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(12, 42, 81, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell,
.case-shell,
.footer-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: #556985;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.brand:hover,
.brand:focus-visible { color: var(--cyan); }

.nav-cta {
  padding: 10px 19px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(8, 120, 201, 0.2);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.case-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(116deg, #086fc0 0%, #0797d4 56%, #0bb8d3 100%);
}

.case-hero::before,
.case-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.case-hero::before { width: 430px; height: 430px; top: -230px; right: -60px; }
.case-hero::after { width: 260px; height: 260px; bottom: -150px; left: -70px; }

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 0 72px;
  text-align: center;
}

.hero-logo {
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(12, 42, 81, 0.22);
}

h1 {
  max-width: 990px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.15vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-metric {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 255, 255, 0.88);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.case-section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.results-section { padding-top: 104px; }

.prose-shell {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
}

.prose-shell.flush-left {
  width: min(780px, 100%);
  margin-left: 0;
}

h2 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p { margin: 0 0 22px; }
p:last-child { margin-bottom: 0; }

.inline-link {
  display: inline;
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 4px;
}

.tools-cta {
  display: inline-flex;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(8, 120, 201, 0.2);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tools-cta:hover,
.tools-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 120, 201, 0.28);
}

.tools-cta:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.subsection-card {
  margin-top: 58px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(8, 120, 201, 0.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 42px 0 50px;
  padding: 0;
  list-style: none;
}

.metrics-grid li {
  min-height: 150px;
  padding: 28px 24px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(140deg, var(--navy), var(--blue));
  box-shadow: 0 18px 38px rgba(12, 42, 81, 0.18);
}

.metrics-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.metrics-grid span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.91rem;
  font-weight: 600;
}

.media-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.media-frame:hover,
.media-frame:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(12, 42, 81, 0.17);
}

.media-frame:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.media-frame img { width: 100%; height: auto; }
.media-feature { margin-top: 34px; }

.wins-section .case-shell { display: grid; gap: 36px; }

.win-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.52fr);
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.keyword {
  color: var(--blue);
  font-weight: 700;
  line-height: 1.55;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.evidence-grid .media-frame { border-radius: 16px; box-shadow: 0 15px 38px rgba(12, 42, 81, 0.1); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(38px, 7vw, 80px);
  align-items: center;
}

.split-copy h2 { max-width: 560px; }
.split-media { border-radius: 24px; }

.conversion-section {
  color: #fff;
  background: linear-gradient(116deg, #0c2a51 0%, #075f9e 54%, #087fbb 100%);
}

.conversion-section h2 { color: #fff; }
.conversion-section .prose-shell { color: rgba(255, 255, 255, 0.88); }
.conversion-section .media-frame { border-color: rgba(255, 255, 255, 0.18); }

.prose-after-media { margin-top: 52px; }

.dmca-section { background: #eef5fb; }

.dmca-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}

.conclusion-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, #0878c9, #08b8d6);
}

.conclusion-section h2 { color: #fff; }
.conclusion-section .prose-shell { position: relative; z-index: 1; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy);
}

.footer-shell {
  display: flex;
  min-height: 130px;
  align-items: center;
}

.footer-shell a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .win-card, .split-section { grid-template-columns: 1fr; }
  .split-media { order: -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; line-height: 1.72; }
  .nav-shell, .case-shell, .footer-shell { width: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 64px; gap: 12px; }
  .brand { font-size: 0.9rem; }
  .nav-cta { padding: 8px 12px; border-radius: 10px; font-size: 0.78rem; }
  .hero-shell { min-height: 440px; padding: 58px 0 54px; }
  .hero-logo { width: 58px; height: 58px; margin-bottom: 22px; border-radius: 15px; }
  h1 { font-size: clamp(2rem, 9.8vw, 3.15rem); line-height: 1.1; }
  .case-section { padding: 72px 0; }
  .prose-shell { width: min(100% - 28px, 780px); }
  .prose-shell.flush-left { width: 100%; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .metrics-grid li { min-height: 130px; padding: 22px 17px; border-radius: 18px; }
  .metrics-grid strong { font-size: 1.65rem; }
  .metrics-grid span { font-size: 0.78rem; }
  .media-frame { border-radius: 16px; }
  .win-card { padding: 22px; border-radius: 22px; }
  .evidence-grid, .dmca-grid { grid-template-columns: 1fr; }
  .split-section { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media-frame, .tools-cta { transition: none; }
}
