:root {
  --ink: #13232f;
  --paper: #fffdf8;
  --sky: #d8ecff;
  --teal: #0d7288;
  --teal-dark: #074a59;
  --sun: #ef7f34;
  --line: #d3d9de;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top right, #e7f5ff, #fffdf8 45%);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
}

a {
  color: var(--teal-dark);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Bree Serif", serif;
  line-height: 1.15;
}

.hero {
  padding: 1.2rem 1rem 2rem;
  background: linear-gradient(155deg, #093241, #0d7288 58%, #f6a24e 150%);
  color: #fff;
}

.top-nav,
.hero-grid,
.section,
.footer-cta {
  max-width: 1100px;
  margin: 0 auto;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.logo {
  width: 68px;
  height: 68px;
}

.link-pill {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ffe8c7;
}

h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  margin-bottom: 0.7rem;
}

.subhead {
  font-size: 1.15rem;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.hero-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  border-radius: 12px;
  border: 0;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--sun);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid #9cc7d0;
}

.section {
  padding: 2rem 1rem;
}

.intro {
  margin-top: 0.3rem;
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card,
.step,
.footer-cta,
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(7, 74, 89, 0.08);
}

.card {
  padding: 0.8rem;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.image-placeholder {
  width: 100%;
  min-height: 180px;
  border: 2px dashed #8aa4ae;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #f8fbfd;
  color: #3d5964;
  padding: 0.8rem;
  font-weight: 700;
}

.section-lead {
  margin-top: -0.2rem;
}

.calc-link-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(7, 74, 89, 0.08);
  padding: 1rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 56px 1.2fr 1fr;
  align-items: start;
}

.step-shot,
.step-media-grid img {
  width: 100%;
  max-width: 190px;
  max-height: 235px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #c8d4db;
  justify-self: center;
}

.step-shot {
  max-width: 180px;
  max-height: 220px;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  margin-top: 0.2rem;
}

.step-media-grid {
  display: grid;
  gap: 0.45rem;
}

.step-media-grid-triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.step-media-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.storefront-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 0.6rem 0;
}

.step-fill-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 240px;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid #c8d4db;
}

.storefront-fill-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #c8d4db;
}

.step-publish {
  grid-template-columns: 56px 1fr 1.35fr;
}

.download-callout {
  margin-top: 0.7rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #b8d7df;
  background: #eef8fb;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}

.download-callout p {
  margin: 0;
  line-height: 1.4;
}

.download-callout-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.download-callout-badges img {
  width: 150px;
  max-width: 100%;
}

.faq details {
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-link {
  margin-top: 0.3rem;
}

.footer-cta {
  margin: 1rem auto 2rem;
  text-align: center;
  padding: 1.4rem 1rem;
}

.badge-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}

.badge-row img {
  width: 172px;
  max-width: 100%;
}

@media (max-width: 920px) {
  .hero-grid,
  .card-grid,
  .step,
  .storefront-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  .step-num {
    margin-bottom: -0.3rem;
  }

  .step-shot,
  .step-media-grid img {
    max-width: 145px;
    max-height: 185px;
  }

  .step-fill-image,
  .storefront-fill-image {
    height: 185px;
    max-width: 100%;
    max-height: none;
  }

  .step-publish {
    grid-template-columns: 1fr;
  }

  .step-media-grid-triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-media-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-callout-badges img {
    width: 138px;
  }
}
