/* The hybrid preview keeps the original copy and form markup. */
html[data-preview="hybrid"] #about {
  padding-block: clamp(72px, 7.5vw, 112px);
  background: #eaf1eb;
  color: #17213a;
}

/* The page already has scroll padding; only add the rest of the header height. */
html[data-preview="hybrid"] #about,
html[data-preview="hybrid"] #website-launch,
html[data-preview="hybrid"] #services { scroll-margin-top: calc(89px - 4rem); }

@media (max-width: 767px) {
  html[data-preview="hybrid"] #about,
  html[data-preview="hybrid"] #website-launch,
  html[data-preview="hybrid"] #services { scroll-margin-top: calc(89px - 6rem); }
}

@media (max-width: 700px) {
  html[data-preview="hybrid"] #about,
  html[data-preview="hybrid"] #website-launch,
  html[data-preview="hybrid"] #services { scroll-margin-top: calc(75px - 6rem); }
}

html[data-preview="hybrid"] #about .b-section-label {
  margin-bottom: 42px;
  padding-top: 0;
  border: 0;
  color: #536078;
}

html[data-preview="hybrid"] #about .c-about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}

html[data-preview="hybrid"] #about .c-about-copy {
  grid-column: 2;
  grid-row: 1;
  max-width: 720px;
  min-width: 0;
}

html[data-preview="hybrid"] #about .c-about-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(52px, 5.9vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 600;
  color: #17213a;
}

html[data-preview="hybrid"] #about .c-about-copy .c-about-lede {
  max-width: none;
  margin: 0 0 26px;
  font-size: clamp(25px, 2.5vw, 35px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em;
  color: #3549cf;
}

html[data-preview="hybrid"] #about .c-about-copy p:not(.c-about-lede) {
  max-width: 36rem;
  margin: 0 0 18px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: #46516a;
}

html[data-preview="hybrid"] #about .c-about-copy .text-link {
  margin-top: 8px;
  color: #3549cf;
  font-size: 17px;
  font-weight: 600;
}

html[data-preview="hybrid"] #about .hybrid-portrait-scene {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 480px;
  aspect-ratio: auto;
  padding: 0 0 36px;
  transform: none;
}

html[data-preview="hybrid"] #about .hybrid-portrait-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24% 2% 36px;
  border: 0;
  border-radius: 50% 50% 0 0;
  background: #cdddcf;
}

html[data-preview="hybrid"] #about .hybrid-portrait-scene::after {
  content: none;
}

html[data-preview="hybrid"] #about .hybrid-portrait {
  position: relative;
  inset: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transform: none;
  overflow: hidden;
}

html[data-preview="hybrid"] #about .hybrid-portrait img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  margin: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
}

html[data-preview="hybrid"] #about .hybrid-portrait-label {
  position: absolute;
  z-index: 2;
  inset: auto auto 36px 0;
  padding: 13px 18px;
  border: 0;
  box-shadow: none;
  transform: none;
  background: #fff;
  color: #17213a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

html[data-preview="hybrid"] #about .hybrid-portrait-note {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  color: #536078;
  font-size: 13px;
  line-height: 1.4;
}

html[data-preview="hybrid"] #free-guide {
  padding-block: clamp(72px, 7.5vw, 112px);
  border-block: 1px solid #e3e8e9;
  background: #fff;
  color: #17213a;
}

/* Soft, reversed paper artwork behind the guide content. */
html[data-preview="hybrid"] #free-guide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
html[data-preview="hybrid"] #free-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/images/guide-paper-background.png") center / cover no-repeat;
  transform: scaleX(-1);
  opacity: .22;
  pointer-events: none;
}

@media (max-width: 767px) {
  html[data-preview="hybrid"] #free-guide::before { opacity: .1; }
}

html[data-preview="hybrid"] #free-guide .free-guide-shell > .b-section-label {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: #5c6e76;
}

html[data-preview="hybrid"] #free-guide .free-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

html[data-preview="hybrid"] #free-guide .free-guide-copy {
  min-width: 0;
}

html[data-preview="hybrid"] #free-guide h2 {
  max-width: 15ch;
  margin: 0 0 28px;
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.06em;
  text-wrap: balance;
  color: #17213a;
}

html[data-preview="hybrid"] #free-guide .free-guide-lede {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.55;
  color: #46516a;
}

html[data-preview="hybrid"] #free-guide .free-guide-delivery {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 15px;
  color: #5c6e76;
}

html[data-preview="hybrid"] #free-guide .free-guide-online { margin: 14px 0 0; font-size: 15px; }

html[data-preview="hybrid"] #free-guide .free-guide-card {
  min-width: 0;
  padding: clamp(26px, 3vw, 42px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #f3f5f1;
}

/* Give the form a distinct surface against the illustrated background. */
html[data-preview="hybrid"][data-palette] body #free-guide .free-guide-card {
  background: #fff;
  border: 1px solid #d4ddec;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(31, 53, 92, .12);
}
html[data-preview="hybrid"] #free-guide .free-guide-card input[type="email"] {
  background: rgba(202, 217, 244, .6);
  border-color: #8494ab;
}
html[data-preview="hybrid"] #free-guide .field-error:empty { display: none; }

html[data-preview="hybrid"] #free-guide .free-guide-card label:not(.guide-consent) {
  margin-bottom: 12px;
  color: #17213a;
  font-size: 16px;
  font-weight: 600;
}

html[data-preview="hybrid"] #free-guide input[type="email"] {
  width: 100%;
  min-height: 62px;
  padding: 15px 18px;
  border: 1px solid #b7c4ce;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #17213a;
  font: inherit;
  font-size: 18px;
}

html[data-preview="hybrid"] #free-guide input[type="email"]::placeholder {
  color: #687585;
  opacity: 1;
}

html[data-preview="hybrid"] #free-guide input:focus-visible {
  outline: 2px solid #3549cf;
  outline-offset: 3px;
}

html[data-preview="hybrid"] #free-guide .guide-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin: 22px 0 19px;
  color: #46516a;
  font-size: 15px;
  line-height: 1.55;
}

html[data-preview="hybrid"] #free-guide .guide-consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 3px 0 0;
  accent-color: #3549cf;
}

html[data-preview="hybrid"] #free-guide .guide-form-note {
  margin: 10px 0 24px;
  color: #46516a;
  font-size: 14px;
  line-height: 1.6;
}

html[data-preview="hybrid"] #free-guide .free-guide-card .button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  margin-top: 8px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #bdcda8;
  color: #17213a;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

html[data-preview="hybrid"] #free-guide .free-guide-card .button:hover {
  background: #adbf95;
  color: #17213a;
  box-shadow: none;
  transform: none;
}

html[data-preview="hybrid"] #free-guide .free-guide-card .button:focus-visible {
  outline: 2px solid #3549cf;
  outline-offset: 4px;
}

html[data-preview="hybrid"] #free-guide .free-guide-card .button svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  html[data-preview="hybrid"] #about .c-about-grid {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
    gap: 36px;
  }

  html[data-preview="hybrid"] #about .c-about-copy h2 {
    font-size: clamp(46px, 6vw, 65px);
  }

  html[data-preview="hybrid"] #free-guide .free-guide-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 700px) {
  html[data-preview="hybrid"] #about,
  html[data-preview="hybrid"] #free-guide {
    padding-block: 64px;
  }

  html[data-preview="hybrid"] #about .b-section-label {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
  }

  html[data-preview="hybrid"] #about .c-about-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
  }

  html[data-preview="hybrid"] #about .hybrid-portrait-scene {
    order: -1;
    align-self: center;
    width: min(100%, 350px);
  }

  html[data-preview="hybrid"] #about .c-about-copy h2 {
    font-size: clamp(45px, 10vw, 65px);
    margin-bottom: 18px;
  }

  html[data-preview="hybrid"] #about .c-about-copy .c-about-lede {
    font-size: 27px !important;
    margin-bottom: 23px;
  }

  html[data-preview="hybrid"] #free-guide .free-guide-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  html[data-preview="hybrid"] #free-guide h2 {
    max-width: 16ch;
    font-size: clamp(39px, 8.6vw, 58px);
  }

  html[data-preview="hybrid"] #free-guide .free-guide-card {
    padding: 26px 22px;
  }
}
