/* === ScreenSteps standard section controls (shared by every SS module; do not edit per module) === */
.grid.ss-width--narrow { width: 792px !important; max-width: 98% !important; }
.grid.ss-width--wide { width: 1320px !important; max-width: 98% !important; }
.grid.ss-width--full { width: 100% !important; max-width: 100% !important; }
.grid.ss-width--full > .grid__item { margin-left: 0 !important; margin-right: 0 !important; }
.grid.ss-width--full > .grid__item.one-whole { width: 100% !important; }
/* === end standard section controls === */

/* SS - Hero Email Video */
.section--ss-hero-email-video { --ss-hev-text: #101828; --ss-hev-g1: #025965; --ss-hev-g2: #A2C94A; --ss-hev-btn: #1C1D18; --ss-hev-btn-text: #FFFFFF; }
.section--ss-hero-email-video .ss-hev { display: flex; align-items: center; gap: 80px; }
.section--ss-hero-email-video .ss-hev__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.section--ss-hero-email-video .ss-hev__media { flex: 1 1 0; min-width: 0; }
.section--ss-hero-email-video .ss-hev__copy { display: flex; flex-direction: column; gap: 24px; }

/* Headline */
.section--ss-hero-email-video .ss-hev__heading { margin: 0; font-size: 64px; line-height: 1.2; font-weight: 600; letter-spacing: 0; color: var(--ss-hev-text); }
.section--ss-hero-email-video .ss-hev__heading--bitter { font-family: "SS Bitter", Georgia, serif; }
.section--ss-hero-email-video .ss-hev__heading--urbanist { font-family: "SS Urbanist", "Inter", sans-serif; }
.section--ss-hero-email-video .ss-hev__heading--inter { font-family: "Inter", sans-serif; letter-spacing: -0.02em; }
.section--ss-hero-email-video .ss-hev__highlight {
  background-image: linear-gradient(90deg, var(--ss-hev-g1), var(--ss-hev-g2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ss-hev-g1);
}

/* Supporting text */
.section--ss-hero-email-video .ss-hev__content p { margin: 0; font-family: "Inter", sans-serif; font-size: 18px; line-height: 1.5; color: var(--ss-hev-text); }
.section--ss-hero-email-video .ss-hev__content p + p { margin-top: 12px; }

/* Actions: form + fine print */
.section--ss-hero-email-video .ss-hev__actions { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 513px; }
.section--ss-hero-email-video .all--text--center .ss-hev__actions { margin-left: auto; margin-right: auto; }
.section--ss-hero-email-video .ss-hev__fine-print p { margin: 0; font-family: "Inter", sans-serif; font-size: 12px; line-height: 1.5; color: var(--ss-hev-text); }
.section--ss-hero-email-video .ss-hev__fine-print a { color: inherit; text-decoration: underline; }
.section--ss-hero-email-video .ss-hev__mock-note { margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: #BD6C53; }

/* HubSpot form, legacy markup (.hs-form) */
.section--ss-hero-email-video .ss-hev__form .hs-form { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; margin: 0; }
.section--ss-hero-email-video .ss-hev__form .hs-form fieldset { flex: 1 1 200px; max-width: none !important; margin: 0; padding: 0; border: 0; }
.section--ss-hero-email-video .ss-hev__form .hs-form fieldset .hs-form-field { width: 100% !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-form-field > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section--ss-hero-email-video .ss-hev__form .hs-form .input { margin: 0 !important; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-input,
.section--ss-hero-email-video .ss-hev__form .hsfc-TextInput {
  box-sizing: border-box; width: 100% !important; height: 48px; margin: 0; padding: 12px; border: 1px solid var(--ss-hev-text); border-radius: 8px;
  background: #fff; font-family: "Inter", sans-serif; font-size: 16px; line-height: 1.5; color: #101828; box-shadow: none;
}
.section--ss-hero-email-video .ss-hev__form .hs-input::placeholder,
.section--ss-hero-email-video .ss-hev__form .hsfc-TextInput::placeholder { color: rgba(0, 0, 0, 0.6); opacity: 1; }
.section--ss-hero-email-video .ss-hev__form .hs-form > .hs-form-field { flex: 1 1 200px; min-width: 0; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs_submit { flex: 0 0 auto; width: auto !important; margin: 0; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs_submit .actions { display: block; }
.section--ss-hero-email-video .ss-hev__form .hs-form > .hs_error_rollup,
.section--ss-hero-email-video .ss-hev__form .hs-form > .legal-consent-container { flex: 1 1 100%; }
.section--ss-hero-email-video .ss-hev__form .hs-form .actions { margin: 0; padding: 0; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-button,
.section--ss-hero-email-video .ss-hev__form .hsfc-Button {
  box-sizing: border-box; height: 48px; margin: 0; padding: 12px 24px; border: 1px solid var(--ss-hev-btn); border-radius: 63px;
  background: var(--ss-hev-btn); color: var(--ss-hev-btn-text); font-family: "Inter", sans-serif; font-size: 16px; line-height: 1.5; font-weight: 400;
  letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; box-shadow: none; width: auto;
}
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-button:hover,
.section--ss-hero-email-video .ss-hev__form .hsfc-Button:hover { opacity: 0.88; }
.section--ss-hero-email-video .ss-hev__form .hs-input:focus-visible,
.section--ss-hero-email-video .ss-hev__form .hsfc-TextInput:focus-visible,
.section--ss-hero-email-video .ss-hev__form .hs-button:focus-visible,
.section--ss-hero-email-video .ss-hev__form .hsfc-Button:focus-visible { outline: 2px solid #025965; outline-offset: 2px; }
.section--ss-hero-email-video .ss-hev__form .hs-error-msgs { margin: 6px 0 0; padding: 0; list-style: none; }
.section--ss-hero-email-video .ss-hev__form .hs-error-msgs label,
.section--ss-hero-email-video .ss-hev__form .hs-error-msg { font-size: 13px; line-height: 1.4; color: #B42318; }
.section--ss-hero-email-video .ss-hev__form .hs_error_rollup { flex-basis: 100%; }
.section--ss-hero-email-video .ss-hev__form .submitted-message p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ss-hev-text); }

/* HubSpot form, new forms editor markup (.hsfc-) */
.section--ss-hero-email-video .ss-hev__form .hsfc-Form { --hsf-global__font-family: "Inter", sans-serif; --hsf-background__padding: 0; --hsf-background__background-color: transparent; }
.section--ss-hero-email-video .ss-hev__form .hsfc-Step__Content { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; padding: 0 !important; }
.section--ss-hero-email-video .ss-hev__form .hsfc-Row { flex: 1 1 200px; margin: 0; }
.section--ss-hero-email-video .ss-hev__form .hsfc-TextField > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section--ss-hero-email-video .ss-hev__form .hsfc-NavigationRow { flex: 0 0 auto; margin: 0; }

/* Media: image, or video that plays in place */
.section--ss-hero-email-video .ss-hev__frame { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 30px; overflow: hidden; background: transparent; isolation: isolate; }
.section--ss-hero-email-video .ss-hev__thumb,
.section--ss-hero-email-video .ss-hev__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.section--ss-hero-email-video .ss-hev__video { background: #000; }
.section--ss-hero-email-video .ss-hev__thumb { z-index: 1; }
.section--ss-hero-email-video .ss-hev__play { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: 30px; background: transparent; cursor: pointer; }
.section--ss-hero-email-video .ss-hev__play-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); }
.section--ss-hero-email-video .ss-hev__play:focus-visible { outline: 3px solid #025965; outline-offset: -6px; }
.section--ss-hero-email-video .ss-hev__frame.is-playing .ss-hev__thumb,
.section--ss-hero-email-video .ss-hev__frame.is-playing .ss-hev__play { display: none; }
.section--ss-hero-email-video .ss-hev__video:focus-visible { outline: 3px solid #025965; outline-offset: -3px; }
@media (prefers-reduced-motion: no-preference) {
  .section--ss-hero-email-video .ss-hev__play-icon { transition: transform 0.2s ease; }
  .section--ss-hero-email-video .ss-hev__play:hover .ss-hev__play-icon,
  .section--ss-hero-email-video .ss-hev__play:focus-visible .ss-hev__play-icon { transform: translate(-50%, -50%) scale(1.08); }
}

/* White text override */
.section--ss-hero-email-video .all--color--white .ss-hev__heading,
.section--ss-hero-email-video .all--color--white .ss-hev__content p,
.section--ss-hero-email-video .all--color--white .ss-hev__fine-print p { color: #fff; }

/* lap: 1024-1223 */
@media (min-width: 1024px) and (max-width: 1223px) {
  .section--ss-hero-email-video .ss-hev { gap: 56px; }
  .section--ss-hero-email-video .ss-hev__heading { font-size: 52px; }
}
/* tablet + mobile: <=1023 (tablet follows mobile) */
@media (max-width: 1023px) {
  .section--ss-hero-email-video .ss-hev { flex-direction: column; align-items: stretch; gap: 48px; }
  .section--ss-hero-email-video .ss-hev__text { gap: 24px; }
  .section--ss-hero-email-video .ss-hev__copy { gap: 20px; }
  .section--ss-hero-email-video .ss-hev__heading { font-size: 36px; }
  .section--ss-hero-email-video .ss-hev__content p { font-size: 16px; }
  .section--ss-hero-email-video .ss-hev__actions { max-width: none; }
  .section--ss-hero-email-video .ss-hev__form .hs-form,
  .section--ss-hero-email-video .ss-hev__form .hsfc-Step__Content { flex-direction: column; align-items: stretch; }
  .section--ss-hero-email-video .ss-hev__form .hs-form fieldset,
  .section--ss-hero-email-video .ss-hev__form .hs-form > .hs-form-field,
  .section--ss-hero-email-video .ss-hev__form .hsfc-Row { flex: 0 0 auto; width: 100% !important; }
  .section--ss-hero-email-video .ss-hev__form .hs-form .hs_submit,
  .section--ss-hero-email-video .ss-hev__form .hsfc-NavigationRow { width: 100% !important; }
  .section--ss-hero-email-video .ss-hev__form .hs-form .hs-button,
  .section--ss-hero-email-video .ss-hev__form .hsfc-Button { width: 100% !important; }
}

/* Form fine-tuning against framework form styles */
.section--ss-hero-email-video .ss-hev__form .hs-form .hs_submit,
.section--ss-hero-email-video .ss-hev__form .hs-form .hs_submit .actions { margin: 0 !important; padding: 0 !important; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-button,
.section--ss-hero-email-video .ss-hev__form .hsfc-Button { margin: 0 !important; text-align: center !important; vertical-align: top; }
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-input::placeholder,
.section--ss-hero-email-video .ss-hev__form .hsfc-TextInput::placeholder { color: rgba(0, 0, 0, 0.6) !important; opacity: 1 !important; }
.section--ss-hero-email-video .ss-hev__form .hs-input:focus,
.section--ss-hero-email-video .ss-hev__form .hsfc-TextInput:focus { outline: 2px solid #025965 !important; outline-offset: 2px; border-color: #025965; }
.section--ss-hero-email-video .ss-hev__form .hs-button:focus-visible,
.section--ss-hero-email-video .ss-hev__form .hsfc-Button:focus-visible,
.section--ss-hero-email-video .ss-hev__fine-print a:focus-visible { outline: 2px solid #025965 !important; outline-offset: 2px; }

/* Reserve the form's space while HubSpot loads it, so nothing below jumps */
.section--ss-hero-email-video .ss-hev__form { min-height: 48px; }
@media (max-width: 1023px) {
  .section--ss-hero-email-video .ss-hev__form { min-height: 112px; }
}

/* Media size (Size field). Desktop: the square takes a fixed size and sits at the right edge; the text gets the rest. */
.section--ss-hero-email-video .ss-hev--size-small  { --ss-hev-media: 400px; }
.section--ss-hero-email-video .ss-hev--size-medium { --ss-hev-media: 480px; }
.section--ss-hero-email-video .ss-hev--size-large  { --ss-hev-media: 560px; }
.section--ss-hero-email-video .ss-hev--size-auto   { --ss-hev-media: clamp(360px, calc(100vh - 300px), 600px); }
@supports (height: 100svh) {
  .section--ss-hero-email-video .ss-hev--size-auto { --ss-hev-media: clamp(360px, calc(100svh - 300px), 600px); }
}
/* Desktop: keep Figma's proportions (600px text column + 80px gap + media) and center the pair,
   so a smaller square never leaves a wide empty gap between text and media. */
@media (min-width: 1024px) {
  .section--ss-hero-email-video .ss-hev:not(.ss-hev--size-fill) { justify-content: center; gap: 80px; }
  .section--ss-hero-email-video .ss-hev:not(.ss-hev--size-fill) .ss-hev__text { flex: 0 1 600px; max-width: 600px; }
  .section--ss-hero-email-video .ss-hev:not(.ss-hev--size-fill) .ss-hev__media { flex: 0 0 var(--ss-hev-media); width: var(--ss-hev-media); max-width: 48%; }
}
@media (min-width: 1024px) and (max-width: 1223px) {
  .section--ss-hero-email-video .ss-hev:not(.ss-hev--size-fill) { gap: 56px; }
}
/* Tablet + phone: full width, but never bigger than the chosen size (Auto/Fill cap at 560px) */
@media (max-width: 1023px) {
  .section--ss-hero-email-video .ss-hev__media { width: 100%; max-width: 560px; }
  .section--ss-hero-email-video .ss-hev--size-small .ss-hev__media { max-width: 400px; }
  .section--ss-hero-email-video .ss-hev--size-medium .ss-hev__media { max-width: 480px; }
  .section--ss-hero-email-video .all--text--center .ss-hev__media { margin-left: auto; margin-right: auto; }
}

/* Small laptops: the fine print sits right at the wrap point and jumps to two lines when Inter loads; reserve the second line */
@media (min-width: 1024px) and (max-width: 1223px) {
  .section--ss-hero-email-video .ss-hev__fine-print { min-height: 36px; }
}

/* Button text centering: the framework forces a 2px border, which squeezed the 24px text line and pushed it down.
   Use Figma's 1px border and let the line fill the button height so the label sits dead centre. */
.section--ss-hero-email-video .ss-hev__form .hs-form .hs-button,
.section--ss-hero-email-video .ss-hev__form .hsfc-Button {
  border-width: 1px !important; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 46px !important;
}
