/* Homepage hero: the free-check box under the two hero buttons. Added 11 Nov 2026.
   Its own file rather than styles-v55.css so adding it didn't mean a version bump
   (and a new copy of the 90KB stylesheet) on every page. Loaded by index.html only.

   A plain GET form to /free-website-check/?url=..., which auto-runs the check on
   arrival. Works with no JavaScript at all, and the form-action 'self' CSP allows it. */

.hero-check {
  position: relative; z-index: 1;
  max-width: 34rem; margin-top: 1.4rem;
}
.hero-check-label {
  display: block; margin-bottom: 0.6rem;
  font-family: var(--body); font-size: 1rem; color: var(--mist);
}
.hero-check-label b { color: var(--foam); font-weight: 600; }
.hero-check-row { display: flex; gap: 0; }
.hero-check input {
  flex: 1 1 auto; min-width: 0;
  background: rgba(244, 242, 234, 0.04); border: 1px solid rgba(244, 242, 234, 0.4);
  border-right: 0; border-radius: 0;
  padding: 0.95rem 1rem; color: var(--foam); font-family: var(--body); font-size: 1.05rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hero-check input::placeholder { color: rgba(244, 242, 234, 0.38); }
.hero-check input:focus {
  outline: none; border-color: var(--acid);
  box-shadow: 0 0 0 1px var(--acid), 0 0 30px rgba(var(--acid-rgb), 0.12);
}
.hero-check button {
  flex: none; cursor: pointer;
  border: 1px solid var(--acid); background: transparent; color: var(--acid);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.hero-check button:hover, .hero-check button:focus-visible { background: var(--acid); color: var(--ink); outline: none; }
@media (max-width: 420px) {
  .hero-check-row { flex-direction: column; }
  .hero-check input { border-right: 1px solid rgba(244, 242, 234, 0.4); }
  .hero-check button { padding: 1rem; margin-top: 0.6rem; }
}

/* Desktop split, 16 Nov 2026. Everything used to stack in one left-hand column, and
   the headline's svh cap (needed so the stack fit the screen) held it at 41-55% of
   the width: at 1920 the content stopped at x=1007 and the rest was bare canvas, and
   at 1280x720 the free check fell below the fold. Now the sub, buttons and check sit
   in .hero-aside, bottom-aligned with "DESERVES.", and the headline is sized to the
   width that's left. 8.4 is the widest line ("YOUR BUSINESS", ~8.1em) plus slack.
   The column is `auto` with space-between so the gap goes in the middle, not after
   the headline. Lives here rather than styles-v55.css because only index.html uses
   it (?v= bumped in index.html). Below 1100px the aside is a plain block: no change. */
@media (min-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: auto minmax(24rem, 30rem);
    justify-content: space-between;
    column-gap: clamp(3rem, 5vw, 7rem);
    align-content: center;
  }
  .hero-eyebrow, .scroll-hint { grid-column: 1 / -1; }
  .scroll-hint { justify-self: center; }
  .hero-title {
    grid-column: 1; margin-bottom: 0;
    font-size: min(calc((100vw - 2 * clamp(1.25rem, 4vw, 3rem) - clamp(3rem, 5vw, 7rem) - 30rem) / 8.4), 14.5svh, 11rem);
  }
  .hero-aside { grid-column: 2; align-self: end; padding-bottom: 0.2em; }
  .hero-aside > :last-child { margin-bottom: 0; }
  .hero-aside .hero-sub, .hero-aside .hero-ctas, .hero-aside .hero-check { max-width: none; }
  .hero-aside .hero-sub { margin-bottom: clamp(1.1rem, 2.4svh, 1.8rem); }
  .hero-aside .hero-sub.hero-tagline { margin-bottom: 0.7rem; }
}
