/* ============================================================
   get-in-touch.css — Get a Demo page.

   Copy and form sit side by side in a single dark section, so the
   form starts near the top of the page instead of below a
   full-height hero. Previously the hero and the form were separate
   full-width sections, which stacked 128px of empty padding between
   the subhead and the card and pushed the first field to 619px on a
   800px-tall viewport — roughly one field above the fold, with the
   submit button 237px below it.

   Collapses to a single column at 900px, where the form needs the
   full width. The white card keeps the embedded HubSpot form on a
   light ground regardless of the section behind it.
============================================================ */
.git-hero {
  position: relative;
  background-color: #0a0a0a;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.git-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(178, 93, 66, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.git-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.git-hero__content {
  max-width: 480px;
  /* Nudged down so the headline sits optically level with the first
     field rather than the card's top edge. */
  padding-top: 1.25rem;
}

.git-hero .eyebrow {
  color: var(--color-copper-light);
}

.git-hero__headline {
  font-size: var(--font-size-h1);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.git-hero__sub {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 460px;
}

.git-hero__form {
  position: relative;
  width: 100%;
}

.git-form__card {
  background: var(--color-white);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  /* Deeper than the old on-white shadow, since the card now sits on
     the dark section. */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 2.5rem;
  min-height: 320px;
}


/* ============================================================
   RESPONSIVE
============================================================ */

/* Below this the two columns crowd the form, so stack them. */
@media (max-width: 900px) {
  .git-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .git-hero__content {
    max-width: 100%;
    padding-top: 0;
  }

  .git-hero__sub {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .git-hero {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  /* The single gap here replaces the 80px that the two sections used
     to stack between the subhead and the card. */
  .git-hero__inner {
    gap: 1.5rem;
  }

  /* On a phone the headline already says what the page is for, and
     the form is the point — dropping the subhead lifts the first
     field clear of the fold on short handsets. Desktop and tablet
     keep it, where it costs nothing. */
  .git-hero__sub {
    display: none;
  }

  .git-form__card {
    padding: 1.5rem;
  }
}
