:root {
  --navy: #1c2541;
  --deep-purple: #24204f;
  --orange: #df9114;
  --blue: #67a7dd;
  --text: #727b91;
  --muted: #f2f2f2;
  --line: #d5d8de;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(28, 37, 65, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 150px;
  padding: 36px clamp(28px, 5vw, 66px);
  background: var(--white);
}

.brand-link {
  display: inline-flex;
}

.cloudcover-logo {
  width: clamp(170px, 20vw, 245px);
}

.jmr-logo {
  width: clamp(116px, 15vw, 178px);
}

.hero {
  background: var(--navy);
  color: var(--white);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 68px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  margin: 30px auto 0;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero-art {
  width: min(100%, 1143px);
  margin: 80px auto 0;
}

.section-pad {
  padding: 62px clamp(24px, 4vw, 52px);
}

.content-narrow {
  width: min(1090px, 100%);
  margin: 0 auto;
  text-align: center;
}

h2,
h3 {
  color: var(--navy);
  line-height: 1.2;
}

.intro h2,
.migration h2,
.proof > h2,
.contact h2 {
  margin: 0 0 40px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
}

.intro p,
.migration p {
  margin: 0;
  color: #828a9c;
  font-size: clamp(1rem, 1.9vw, 1.25rem);
}

.feature-band {
  background: var(--muted);
}

.card-grid,
.proof-grid {
  width: min(1175px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.feature-card {
  min-height: 210px;
  padding: 34px 32px 30px;
  text-align: center;
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid currentColor;
  font-size: 1.03rem;
  font-weight: 800;
}

.feature-card p {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.accent-orange h3 {
  color: var(--orange);
}

.accent-blue h3 {
  color: var(--blue);
}

.cta-band {
  width: min(1175px, calc(100% - 48px));
  margin: 50px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 84px;
  background: var(--orange);
  color: var(--white);
}

.cta-band h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.cta-button {
  flex: 0 0 auto;
  min-width: 310px;
  padding: 19px 30px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
}

.proof {
  text-align: center;
}

.proof > h2 {
  margin-bottom: 56px;
}

.proof-grid article {
  min-height: 150px;
  padding: 35px 28px 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 2px;
}

.proof-grid h3 {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-grid p {
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact {
  border-top: 1px solid #b7bbc4;
}

.contact-inner {
  width: min(1175px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact h2 {
  margin-bottom: 74px;
  text-align: left;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 30px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-copy label {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 18px 0;
  font-size: 1.08rem;
}

.contact-copy input {
  width: 30px;
  height: 30px;
  margin: 0;
  accent-color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.botcheck {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  background: #efefef;
  color: var(--navy);
  font: inherit;
  font-weight: 500;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input {
  min-height: 52px;
}

.contact-form textarea {
  min-height: 164px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fafafa;
}

.contact-form .field-error {
  border-color: #b72332;
  background: #fff8f8;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.form-status.error {
  color: #b72332;
}

.form-status.success {
  color: #25944c;
}

.contact-form button {
  justify-self: center;
  min-width: 168px;
  margin-top: 46px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #111a34;
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  background: var(--deep-purple);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(130px, 1fr));
  gap: 48px;
  padding: 37px 0 45px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
}

.site-footer a {
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.45;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  align-self: end;
  display: flex;
  gap: 16px;
  padding-bottom: 6px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.social-links a:nth-child(1) {
  background: #466eb3;
}

.social-links a:nth-child(2) {
  background: #1d75a4;
}

.social-links a:nth-child(3) {
  background: #050505;
}

.copyright {
  margin: 0;
  padding: 14px 24px;
  background: #181818;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 0.72rem;
}

.back-to-top {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #1887c8;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 112px;
    padding-block: 26px;
  }

  .hero-inner {
    padding: 44px 0 54px;
  }

  .hero-art {
    margin-top: 52px;
  }

  .card-grid,
  .proof-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .proof-grid {
    gap: 20px;
  }

  .feature-card,
  .proof-grid article {
    min-height: auto;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
    padding: 28px;
    text-align: center;
  }

  .cta-button {
    min-width: 0;
    width: 100%;
  }

  .contact-inner {
    gap: 46px;
  }

  .contact h2 {
    margin-bottom: 40px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 18px;
    min-height: 96px;
    padding-inline: 20px;
  }

  .cloudcover-logo {
    width: 150px;
  }

  .jmr-logo {
    width: 104px;
  }

  .hero-inner,
  .cta-band,
  .footer-inner {
    width: min(100% - 32px, 1175px);
  }

  .section-pad {
    padding: 46px 16px;
  }

  .feature-card,
  .proof-grid article {
    padding: 28px 22px;
  }

  .contact-copy label {
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
  }

  .contact-copy input {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-top: 2px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    align-self: start;
  }
}
