/* ==========================================================================
   ET Group — temporary landing page

   Tokens in section 1 are copied verbatim from the production WordPress theme
   (sd-hybridx) at _reference/sd-hybridx/src/sass/_variables.scss, with the
   Sass functions resolved to their compiled values. Keep the names identical
   so anything lifted from the theme drops straight in.

   Sass helpers resolved here:
     rem(n)                → n/16 rem
     flClamp(min,max)      → clamp(min, (min - 20rem*f) + 100vw*f, max)
                             where f = (max-min)/83rem
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — from the theme
   -------------------------------------------------------------------------- */

:root {
  /* ===== Fonts ===== */
  --ff-base: "Inter", sans-serif;
  --ff-accent: "DM Sans", sans-serif;

  /* ===== Type scale ===== */
  --step--3: 0.875rem;
  --step--2: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  --step--1: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
  --step-0: 1rem;
  --step-0-1: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
  --step-1: clamp(1.125rem, 1.081rem + 0.19vw, 1.25rem);
  --step-1-1: clamp(1.125rem, 0.841rem + 1.21vw, 1.75rem);
  --step-2: clamp(1.25rem, 1.136rem + 0.48vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.273rem + 0.97vw, 2rem);
  --step-4: clamp(1.5rem, 1.159rem + 1.45vw, 2.25rem);
  --step-5: clamp(1.5rem, 1.148rem + 1.5vw, 2.5rem);
  --step-6: clamp(2rem, 1.604rem + 1.69vw, 3.125rem);
  --step-7: clamp(2.25rem, 1.458rem + 3.38vw, 4.5rem);
  --step-8: clamp(2.5rem, 1.364rem + 4.85vw, 5rem);

  /* ===== Spacing ===== */
  --sp--2: 0.25rem;
  --sp--1: 0.5rem;
  --sp-0: 1rem;
  --sp-1: 1.5rem;
  --sp-2: 2rem;
  --sp-3: 2.5rem;
  --sp-4: 3rem;
  --sp-5: 4rem;
  --sp-6: 5rem;
  --sp-7: 7.5rem;
  --sp-8: 10rem;

  /* Fluid spacing — flClamp() resolved */
  --sf-1: clamp(0.25rem, 0.19rem + 0.3vw, 0.5rem);
  --sf-2: clamp(0.5rem, 0.38rem + 0.6vw, 1rem);
  --sf-3: clamp(1rem, 0.88rem + 0.6vw, 1.5rem);
  --sf-4: clamp(2rem, 1.773rem + 0.97vw, 2.5rem);
  --sf-5: clamp(2rem, 1.76rem + 1.2vw, 3rem);
  --sf-6: clamp(3rem, 2.76rem + 1.2vw, 4rem);
  --sf-7: clamp(4rem, 3.76rem + 1.2vw, 5rem);

  --wrapper-fluid-1: clamp(3rem, 0.955rem + 8.73vw, 7.5rem);
  --sp-wrapper: var(--sf-3);

  /* ===== Radius ===== */
  --rad-0: 0.5rem;
  --rad-1: 1rem;
  --rad-2: 1.5rem;
  --rad-3: 2rem;

  /* ===== Colours (HSL triplets — wrap in hsl()) ===== */
  --clr-black-h: 0;
  --clr-black-s: 0%;
  --clr-black-l: 9%;
  --clr-black: var(--clr-black-h) var(--clr-black-s) var(--clr-black-l);
  --clr-grey: 0 0% 87%;
  --clr-grey-l: 0 0% 95%;
  --clr-white: 0 100% 100%;
  --clr-purple-h: 248;
  --clr-purple-s: 40%;
  --clr-purple-l: 33%;
  --clr-purple: var(--clr-purple-h) var(--clr-purple-s) var(--clr-purple-l);
  --clr-purple-light: var(--clr-purple-h) var(--clr-purple-s)
    calc(var(--clr-purple-l) + 62%);
  --clr-red-h: 358;
  --clr-red-s: 77%;
  --clr-red-l: 50%;
  --clr-red: var(--clr-red-h) var(--clr-red-s) var(--clr-red-l);

  /* ===== Gradients ===== */
  --lg-stop-1: hsl(248 95% 43%);
  --lg-stop-2: hsl(248 40% 43%);
  --lg-stop-3: hsl(358 97% 60%);

  --g-line-pr: linear-gradient(to right, hsl(248 95% 43%), hsl(358 77% 50%));
  --g-line-pr-btm: linear-gradient(
    to bottom,
    hsl(248 45% 33%) 80%,
    hsl(358 77% 30%)
  );
  --g-line-rw: linear-gradient(
    to bottom,
    hsl(358 77% 50% / 0),
    hsl(358 77% 50% / 0.1),
    hsl(248 40% 33% / 0.1),
    hsl(248 40% 33% / 0)
  );
  --g-rad-rp: radial-gradient(
    77.5% 99.35% at 0% 0%,
    hsl(358 77% 50%) 0%,
    hsl(248 95% 43%) 100%
  );
  --g-rad-pr: radial-gradient(
    258.91% 104.85% at -5.28% 155.95%,
    hsl(358 77% 50%) 0%,
    hsl(248 40% 33%) 100%
  );
  --g-rad-yrw: radial-gradient(
    77.5% 99.35% at 0% 0%,
    hsl(358 77% 50% / 0.05) 0%,
    hsl(248 95% 43% / 0.05) 100%
  );

  /* ===== Borders / motion ===== */
  --border-grey: 0.1rem solid hsl(var(--clr-grey));
  --speed-0: 0.2s;
  --speed-1: 0.4s;
  --easing-0: cubic-bezier(0.75, 0, 0.39, 0.99);
}

/* Theme switches the wrapper from fluid to 5vw at tablet-min (48rem) */
@media (min-width: 48rem) {
  :root {
    --sp-wrapper: 5vw;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: hsl(var(--clr-grey-l));
  color: hsl(var(--clr-black));
  font: 300 var(--step-0) / 1.5 var(--ff-base);
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-family: var(--ff-accent);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  color: hsl(var(--clr-purple));
  font-size: var(--step-6);
}

h2 {
  color: hsl(var(--clr-purple));
  font-size: var(--step-5);
}

h3 {
  color: hsl(var(--clr-purple));
  font-size: var(--step-4);
}

h4 {
  font-size: var(--step-3);
}

h5 {
  font-size: var(--step-2);
}

/* Theme's oversized hero utilities */
.fs-hero-lg {
  color: hsl(var(--clr-purple));
  font-size: var(--step-8);
}

.fs-hero-md {
  color: hsl(var(--clr-purple));
  font-size: var(--step-7);
}

p {
  margin: 0;
}

strong,
b {
  font-weight: 700;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: hsl(var(--clr-purple));
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: hsl(var(--clr-red));
}

:focus-visible {
  outline: 0.3rem solid hsl(var(--clr-red));
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link — theme's treatment */
.skip-link {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  margin: -1px;
  padding: 1rem 2rem;
  background-color: hsl(var(--clr-black));
  border: 0.3rem solid hsl(var(--clr-red));
  clip: rect(0 0 0 0);
  color: hsl(var(--clr-white));
  white-space: nowrap;
  text-decoration: none;
}

.skip-link:focus {
  width: calc(100% - 4rem);
  height: auto;
  overflow: visible;
  z-index: 9999;
  left: 2rem;
  top: 2rem;
  margin: 0;
  clip: auto;
  color: hsl(var(--clr-white));
}

.container {
  width: 100%;
  padding-inline: var(--sp-wrapper);
}

.block-wrapper {
  padding-block: var(--sp-6);
}

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

/* --------------------------------------------------------------------------
   3. Type helpers
   -------------------------------------------------------------------------- */

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
}

.measure {
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   4. Buttons — mirrors the theme's base-btn / primary / secondary mixins
   -------------------------------------------------------------------------- */

.btn {
  --btn-border-size: 0.1;
  --btn-radius: var(--rad-1);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 0.5rem;
  padding: 1.125rem 1.375rem;
  border: 0;
  border-radius: var(--btn-radius);
  transition: all var(--speed-0) ease-in-out;
  font-family: var(--ff-base);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

@media (min-width: 48rem) {
  .btn {
    display: inline-flex;
  }
}

.btn--primary {
  background: hsl(var(--clr-red));
  border: 0.2rem solid hsl(var(--clr-red));
  color: hsl(var(--clr-white));
}

.btn--primary:hover,
.btn--primary:focus {
  border-color: hsl(var(--clr-purple));
  background: hsl(var(--clr-red-h) var(--clr-red-s) calc(var(--clr-red-l) - 7%));
  color: hsl(var(--clr-white));
}

/*
  Secondary is the theme's gradient-ring button: a solid fill with a
  pseudo-element bleeding out behind it to read as a gradient border.
  `position: relative` with no z-index is deliberate — it must NOT create a
  stacking context, or the ::after would paint over the button's own fill
  instead of behind it.
*/
.btn--ghost {
  --btn-bg-1: var(--section-background, hsl(var(--clr-grey-l)));
  --btn-bg-2: var(--g-rad-rp);

  position: relative;
  background: var(--btn-bg-1);
  color: hsl(var(--clr-black));
}

.btn--ghost::after {
  content: "";
  position: absolute;
  inset: calc(var(--btn-border-size) * 1.1 * -1rem);
  z-index: -1;
  background: var(--btn-bg-2);
  border-radius: calc(var(--btn-radius) * (1 + (var(--btn-border-size) * 1.2)));
}

.btn--ghost:hover,
.btn--ghost:focus {
  --btn-bg-1: hsl(var(--clr-red));
  color: hsl(var(--clr-white));
}

.btn--on-dark {
  background: hsl(var(--clr-white));
  border: 0.2rem solid hsl(var(--clr-white));
  color: hsl(var(--clr-purple));
}

.btn--on-dark:hover,
.btn--on-dark:focus {
  background: hsl(var(--clr-grey-l));
  border-color: hsl(var(--clr-grey-l));
  color: hsl(var(--clr-purple));
}

.btn__label--short {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: hsl(var(--clr-grey-l));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: var(--sf-3);
}

/* Theme: rem(152), widening at desktop-lg-min */
.site-header__logo img {
  width: 9.5rem;
  height: auto;
}

@media (min-width: 76rem) {
  .site-header__logo img {
    width: clamp(9.375rem, 0.406rem + 12.81vw, 11.938rem);
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.site-header__link {
  font-size: var(--step--1);
  font-weight: 700;
  color: hsl(var(--clr-black));
  text-decoration: none;
}

.site-header__link:hover,
.site-header__link:focus {
  color: hsl(var(--clr-red));
}

@media (max-width: 39.999rem) {
  .site-header__actions {
    gap: var(--sp-0);
  }
  .site-header__logo img {
    width: 7.5rem;
  }
  .site-header .btn {
    padding: 0.875rem 1.125rem;
    white-space: nowrap;
  }
  .site-header .btn__label--full {
    display: none;
  }
  .site-header .btn__label--short {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   6. Notice
   -------------------------------------------------------------------------- */

.notice {
  background: hsl(var(--clr-white));
  border-block: var(--border-grey);
}

.notice__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-0);
  padding-block: var(--sp-0);
}

.notice__dot {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: hsl(var(--clr-red));
}

.notice p {
  font-size: var(--step--3);
}

/* --------------------------------------------------------------------------
   7. Maintenance hero + Sales/Support doors (home)
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--g-rad-yrw);
  padding-block: var(--sp-6);
}

.page-hero__inner {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}

.page-hero h1 {
  font-size: var(--step-7);
}

.page-hero .lead {
  margin-top: var(--sp-2);
}

.doors {
  display: grid;
  gap: var(--sf-5);
  margin-top: var(--sf-7);
}

@media (min-width: 56rem) {
  .doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.door {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-0);
  padding: var(--sf-5);
  border-radius: var(--rad-2);
  background: hsl(var(--clr-white));
}

.door__eyebrow {
  font-family: var(--ff-base);
  font-size: var(--step--3);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--clr-red));
}

.door h2 {
  font-size: var(--step-3);
}

/* Let the body copy absorb slack so both CTAs sit at the same height */
.door > p:not(.door__eyebrow):not(.door__phone) {
  flex: 1 1 auto;
}

.door__cta {
  margin-top: var(--sp--1);
}

.door__phone {
  font-size: var(--step--3);
}

.door--sales {
  border: var(--border-grey);
}

.door--support {
  background: var(--g-rad-pr);
  color: hsl(var(--clr-white));
}

.door--support h2,
.door--support .door__eyebrow {
  color: hsl(var(--clr-white));
}

.door--support a {
  color: hsl(var(--clr-white));
}

.door--support .btn--on-dark {
  color: hsl(var(--clr-purple));
}

/* --------------------------------------------------------------------------
   8. Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp--1);
  font-size: var(--step--3);
}

.breadcrumb a {
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  text-decoration: underline;
}

.breadcrumb--on-dark,
.breadcrumb--on-dark a {
  color: hsl(var(--clr-white));
}

.breadcrumb--on-dark a:hover,
.breadcrumb--on-dark a:focus {
  color: hsl(var(--clr-white));
}

/* --------------------------------------------------------------------------
   9. Cross-link band (sales ⇄ support)
   -------------------------------------------------------------------------- */

.crosslink {
  background: hsl(var(--clr-white));
  border-block-start: var(--border-grey);
  padding-block: var(--sp-3);
}

.crosslink__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-0) var(--sp-2);
}

.crosslink p {
  font-size: var(--step--1);
}

/* --------------------------------------------------------------------------
   10. Hero (sales page)
   -------------------------------------------------------------------------- */

.hero {
  background: var(--g-rad-yrw);
  padding-block: var(--sp-6);
}

.hero__grid {
  display: grid;
  gap: var(--sf-6);
  align-items: start;
}

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--sp-6);
  }
}

.hero__copy > * + * {
  margin-top: var(--sf-3);
}

.hero h1 {
  max-width: 16ch;
}

.hero__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__checklist li {
  position: relative;
  padding-left: 2rem;
  margin-top: var(--sp-0);
}

.hero__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.875rem;
  height: 0.5rem;
  border-left: 0.15rem solid hsl(var(--clr-red));
  border-bottom: 0.15rem solid hsl(var(--clr-red));
  transform: rotate(-45deg);
}

.hero__phone {
  font-size: var(--step--3);
}

/* --------------------------------------------------------------------------
   11. Support band
   -------------------------------------------------------------------------- */

.support {
  background: var(--g-rad-pr);
  color: hsl(var(--clr-white));
  padding-block: var(--sp-6);
}

.support__grid {
  display: grid;
  gap: var(--sf-6);
  align-items: start;
}

@media (min-width: 62rem) {
  .support__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--sp-6);
  }
}

.support__copy > * + * {
  margin-top: var(--sf-3);
}

.support h1,
.support h2,
.support h3 {
  color: hsl(var(--clr-white));
}

.support a {
  color: hsl(var(--clr-white));
}

.support__phone {
  display: block;
  font-family: var(--ff-accent);
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.support__phone:hover,
.support__phone:focus {
  text-decoration: underline;
}

.support__phone-label {
  font-size: var(--step--3);
}

/* --------------------------------------------------------------------------
   12. Form cards
   -------------------------------------------------------------------------- */

.form-card {
  background: hsl(var(--clr-white));
  border-radius: var(--rad-2);
  padding: var(--sf-5);
  color: hsl(var(--clr-black));
}

.form-card__header {
  margin-bottom: var(--sp-2);
}

.form-card__header h2,
.form-card__header h3 {
  color: hsl(var(--clr-purple));
  font-size: var(--step-3);
}

.form-card__header p {
  margin-top: var(--sp--1);
  font-size: var(--step--3);
}

/* Quiet placeholder while the HubSpot embed renders. Removed by forms.js as
   soon as the form is ready, or replaced by the fallback if it never is. */
.form-status {
  padding-block: var(--sp-2);
  text-align: center;
  font-size: var(--step--3);
}

/* Shown only if the HubSpot embed genuinely fails — blocked, offline, or
   still not ready after the timeout in forms.js. Hidden by default via the
   `hidden` attribute so it never flashes during a normal page load. */
.form-status[hidden],
.form-fallback[hidden] {
  display: none !important;
}

.form-fallback {
  font-size: var(--step--3);
  border: 0.1rem dashed hsl(var(--clr-grey));
  border-radius: var(--rad-0);
  padding: var(--sp-2);
  text-align: center;
}

.form-fallback a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. HubSpot form overrides

   Mirrors the theme's components/_forms.scss. HubSpot's own stylesheet is
   suppressed via `css: ""` in the embed options, so the theme's rules are
   reproduced here in full rather than layered on top of HubSpot's defaults.

   Note: the v2 embed injects the <form> straight into the target element —
   there is no `.hbspt-form` wrapper — so everything is scoped to `.hs-form`.

   Field pairing: HubSpot groups side-by-side fields in `<fieldset
   class="form-columns-2">`. It lays them out by floating `.field` with a
   percentage width, which the theme overrides (`float: none`) in favour of a
   grid on the fieldset. Both halves of that swap are required — killing the
   float without the grid leaves every field full-width.
   -------------------------------------------------------------------------- */

.hs-form {
  text-align: left;
}

.hs-form fieldset {
  width: 100%;
  max-width: 100% !important;
  margin-block-end: var(--sp-0) !important;
  padding: 0;
  border: 0;
}

.form-columns-2,
.form-columns-3 {
  display: grid;
  gap: var(--sp-0) var(--sp--1);
}

@media (min-width: 48rem) {
  .form-columns-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-columns-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hs-form .hs-form-field {
  margin-block-end: var(--sp-0);
}

.hs-form .field {
  width: auto !important;
  min-width: 0;
  float: none !important;
  display: block;
}

.hs-form label {
  display: block;
  margin-bottom: var(--sp--2);
  font-family: var(--ff-base);
  color: hsl(var(--clr-purple));
  font-size: var(--step--3);
  font-weight: 500;
}

.hs-form-required {
  margin-inline-start: 0.2em;
  color: hsl(var(--clr-red));
}

.hs-form .hs-field-desc {
  display: block;
  margin: 0 0 var(--sp--2);
  font-size: 0.75rem;
  font-weight: 300;
}

.hs-form input:not([type="submit"]),
.hs-form textarea,
.hs-form select {
  padding: var(--sp--1) var(--sp-0);
  border-radius: 0.3rem;
  border: 0.1rem solid hsl(var(--clr-grey));
  background: hsl(var(--clr-white));
  color: hsl(var(--clr-black));
  font-family: var(--ff-base);
  font-size: var(--step--3);
  font-weight: 300;
  line-height: 1.4;
  transition: border-color var(--speed-0) ease-in-out;
}

.hs-form textarea {
  min-height: 5rem;
  resize: vertical;
}

.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
  outline: none;
  border-color: hsl(var(--clr-purple));
}

/* HubSpot ships an 8px right margin on the field wrapper and sizes some
   controls with inline widths. Both are normalised in the theme too. */
.hs-form .input {
  margin-right: 0 !important;
}

.hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  max-width: 100%;
}

/* Checkbox / radio lists (the support form's Category field) */
.hs-form .inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-form .inputs-list li {
  margin-block-end: var(--sp--2);
}

.hs-form .inputs-list label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp--1);
  font-weight: 300;
  color: hsl(var(--clr-black));
  cursor: pointer;
}

.hs-form .inputs-list input[type="checkbox"],
.hs-form .inputs-list input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  flex: 0 0 auto;
  accent-color: hsl(var(--clr-red));
}

/* The support form's 25 categories. No max-height: a constrained height plus
   CSS columns overflows sideways into extra columns instead of scrolling. */
.hs-form .hs-fieldtype-checkbox .inputs-list {
  padding: var(--sp-0);
  border: var(--border-grey);
  border-radius: var(--rad-0);
}

@media (min-width: 40rem) {
  .hs-form .hs-fieldtype-checkbox .inputs-list {
    columns: 2;
    column-gap: var(--sp-2);
  }
  .hs-form .hs-fieldtype-checkbox .inputs-list li {
    break-inside: avoid;
  }
}

/* Consent / legal text */
.hs-form .hs-richtext,
.hs-form .legal-consent-container {
  font-size: var(--step--3);
  line-height: 1.3;
  margin-block-end: var(--sp-0);
}

.hs-form .legal-consent-container p {
  margin: 0 !important;
  font-size: var(--step--3);
  line-height: 1.3;
}

/* Submit — theme styles .hs-button with the same base + primary mixins */
.hs-form .hs-button,
.hs-form input[type="submit"] {
  --btn-radius: var(--rad-1);

  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-block-start: var(--sp-0);
  padding: 1.125rem 1.375rem;
  border: 0.2rem solid hsl(var(--clr-red));
  border-radius: var(--btn-radius);
  background: hsl(var(--clr-red));
  color: hsl(var(--clr-white));
  font-family: var(--ff-base);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: all var(--speed-0) ease-in-out;
}

.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover {
  border-color: hsl(var(--clr-purple));
  background: hsl(var(--clr-red-h) var(--clr-red-s) calc(var(--clr-red-l) - 7%));
}

.hs-form .hs-button:disabled,
.hs-form input[type="submit"]:disabled {
  background: hsl(var(--clr-grey));
  border-color: hsl(var(--clr-grey));
  color: hsl(var(--clr-black));
  cursor: not-allowed;
}

/* Validation */
.hs-form .hs-error-msgs {
  list-style: none;
  margin-block-end: var(--sp--1);
  padding: 0;
}

.hs-form label.hs-error-msg,
.hs-form .hs-error-msg {
  color: hsl(var(--clr-red));
  font-size: 0.75rem;
  font-weight: 500;
}

.hs-form .hs-input.invalid {
  border-color: hsl(var(--clr-red));
}

.hs-form .submitted-message {
  font-size: var(--step-0);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: hsl(var(--clr-grey-l));
  padding-block: var(--sf-6);
  font-size: var(--step--1);
}

/* Theme's .site-footer--bordered treatment */
.site-footer::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  inset-block-start: 0;
  display: block;
  background: var(--g-line-pr);
}

.site-footer__grid {
  display: grid;
  gap: var(--sp-2);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: minmax(10rem, 56ch) auto;
    justify-content: space-between;
  }
}

.site-footer__logo img {
  max-width: 8.75rem;
  margin-bottom: var(--sp-0);
}

.site-footer h2 {
  margin-block-end: var(--sp--1);
  color: hsl(var(--clr-purple));
  font-family: var(--ff-base);
  font-size: var(--step--3);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-block-end: 0.25rem;
  font-size: var(--step--3);
}

.site-footer a {
  color: currentColor;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
  color: hsl(var(--clr-purple));
}

.site-footer__contact {
  font-size: var(--step--3);
}

.site-footer__bottom {
  display: grid;
  align-items: center;
  gap: var(--sp-0);
  margin-block-start: var(--sp-2);
  padding-block-start: var(--sp-2);
  border-block-start: var(--border-grey);
  font-size: var(--step--3);
}

@media (min-width: 48rem) {
  .site-footer__bottom {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-0) var(--sp-2);
}
