:root {
  color-scheme: light;
  --bg: #f7fafc;
  --paper: #ffffff;
  --soft: #edf5f9;
  --soft-strong: #dfeef5;
  --ink: #111820;
  --muted: #596877;
  --line: #dbe5eb;
  --blue: #1476d4;
  --blue-strong: #0d5fb3;
  --green: #16845f;
  --amber: #b66b12;
  --shadow: 0 26px 70px rgba(23, 37, 50, 0.16);
  --soft-shadow: 0 16px 42px rgba(23, 37, 50, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--blue-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 84px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(219, 229, 235, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(20, 118, 212, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 15px;
  font-weight: 750;
}

.nav a {
  color: #26313d;
}

.hero {
  position: relative;
  min-height: min(84svh, 860px);
  display: flex;
  align-items: center;
  padding: 104px clamp(22px, 6vw, 92px) 56px;
  overflow: hidden;
  background-color: #f7fbfd;
  background-image:
    linear-gradient(90deg, rgba(247, 251, 253, 0.99) 0%, rgba(247, 251, 253, 0.96) 48%, rgba(247, 251, 253, 0.38) 66%, rgba(247, 251, 253, 0.04) 100%),
    image-set(
      url("assets/optimized/copare-ui-light-960.webp") 1x,
      url("assets/optimized/copare-ui-light-1440.webp") 2x
    );
  background-position: center, right 58%;
  background-repeat: no-repeat;
  background-size: cover, min(1040px, 60vw) auto;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 251, 253, 0), #edf5f9);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
}

.hero-proof {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 6vw, 92px);
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero-proof span,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(20, 118, 212, 0.18);
  border-radius: 8px;
  color: var(--blue-strong);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(40px, 5vw, 68px);
}

h2 {
  font-size: clamp(32px, 4.8vw, 58px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 590px;
  margin: 22px 0 0;
  color: #334353;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.34;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(23, 37, 50, 0.08);
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(20, 118, 212, 0.28);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(22px, 6vw, 92px) clamp(46px, 7vw, 78px);
  background: var(--soft);
}

.intro-strip div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  font-size: 18px;
}

.intro-strip span {
  margin-top: 5px;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(22px, 6vw, 92px);
}

.section.white {
  background: var(--paper);
}

.product-band,
.split-band {
  background: var(--soft);
}

.section-heading {
  max-width: 960px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 980px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

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

.feature {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(23, 37, 50, 0.06);
}

.feature-icon {
  width: 42px;
  min-height: 34px;
  padding: 0;
  box-shadow: none;
}

.feature strong {
  display: block;
  margin-top: 22px;
  color: var(--green);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature h3 {
  margin-top: 12px;
}

.feature p {
  margin: 13px 0 0;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
}

.showcase.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.showcase img,
.wide-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase-copy {
  max-width: 620px;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-top: 1px solid var(--line);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 132, 95, 0.12);
}

.wide-shot {
  display: block;
  max-width: 1480px;
  margin: 0 auto;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(52px, 7vw, 86px) clamp(22px, 6vw, 92px);
  background: #f8fbfd;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  color: var(--ink);
}

.cta-band p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.cta-band .eyebrow {
  color: var(--green);
}

.cta-band .button {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.cta-band .button.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.page-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(106px, 12vw, 138px) 22px 80px;
}

.page-main h1 {
  font-size: clamp(44px, 7vw, 78px);
}

.page-main .eyebrow {
  color: var(--green);
}

.page-lead {
  margin: 18px 0 34px;
  color: var(--muted);
  font-size: 22px;
}

.content-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.content-section h2,
.support-option h2 {
  font-size: 30px;
}

.content-section p,
.content-section li {
  color: #354250;
}

.content-section ul {
  padding-left: 22px;
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--green);
  background: #eef7f2;
  color: #233126;
}

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

.support-option {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 92px);
  color: var(--muted);
  background: #eef2f6;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

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

@media (max-width: 980px) {
  .hero {
    display: block;
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 390px;
    background-image:
      linear-gradient(180deg, rgba(247, 251, 253, 1) 0%, rgba(247, 251, 253, 0.96) 48%, rgba(247, 251, 253, 0.42) 100%),
      image-set(
        url("assets/optimized/copare-ui-light-960.webp") 1x,
        url("assets/optimized/copare-ui-light-1440.webp") 2x
      );
    background-position: center, 50% calc(100% - 16px);
    background-size: cover, min(920px, 130vw) auto;
  }

  .hero-proof {
    right: auto;
    left: clamp(22px, 6vw, 92px);
    justify-content: flex-start;
  }

  .intro-strip,
  .feature-grid,
  .showcase,
  .showcase.reverse,
  .support-options {
    grid-template-columns: 1fr;
  }

  .showcase.reverse picture {
    order: -1;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    position: static;
    padding: 16px 20px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 22px;
    row-gap: 8px;
    overflow-x: visible;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 82px;
    background-size: cover, 560px auto;
  }

  .hero-content {
    max-width: 330px;
  }

  h1,
  .lead {
    max-width: 330px;
  }

  .hero-proof {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .actions {
    flex-direction: column;
    max-width: 330px;
  }

  .button {
    width: 100%;
  }

  .intro-strip {
    padding-left: 0;
    padding-right: 0;
  }

  .intro-strip div {
    padding: 22px;
  }

  .feature {
    min-height: 0;
  }
}
