/* ==========================================================================
   zLegalSolutions.com — single page
   Shares tokens, base, layout and components with zOneStopShop.com.
   ========================================================================== */

/* Hero: headline left, the ordering portal at right, on a press sheet */
.hero {
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
  background: var(--paper);
}
.hero .sheet { padding: clamp(1.75rem, 4vw, 3.5rem) clamp(.5rem, 2vw, 2rem); }
.hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 7fr 5fr; } }
.hero__title { max-width: 12ch; }
.hero__lead {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.4rem);
  line-height: 1.4;
  max-width: 40ch;
  color: var(--blue);
  font-weight: 700;
}
.hero__lead span { display: block; color: var(--slate); margin-top: .5rem; font-size: .85em; font-weight: 400; }
.hero__actions { margin-top: clamp(1.5rem, 3vw, 2rem); }
.hero__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--stock);
  aspect-ratio: 4 / 3;
  box-shadow: 0 1px 0 rgba(11,31,63,.08), 0 24px 40px -28px rgba(11,31,63,.6);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { display: none; }

/* Products: five cards with the product photos */
.products {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.product {
  background: var(--paper);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.product img { width: 100%; aspect-ratio: 250 / 183; object-fit: cover; }
.product div { padding: 1rem 1.1rem 1.25rem; }
.product h3 { font-size: 1.1rem; margin-bottom: .35rem; color: var(--blue); }
.product p { font-size: .93rem; }

/* How it works: three numbered steps */
.how {
  list-style: none;
  counter-reset: how;
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { counter-increment: how; border-top: 3px solid var(--green); padding-top: 1rem; }
.how h3 { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .5rem; color: var(--paper); }
.how h3::before {
  content: counter(how);
  flex: none; margin-top: .05em;
  width: 1.75rem; height: 1.75rem;
  display: grid; place-items: center;
  background: var(--green); color: var(--ink);
  font-size: .95rem; font-weight: 900;
  border-radius: 50%;
}
.how p { font-size: .97rem; }

/* Contact: form beside direct contacts */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 4rem; align-items: start; } }
.quote-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quote-form legend { padding: 0; font-weight: 600; color: var(--blue); font-size: .95rem; margin-bottom: .5rem; }
.quote-form .form-grid + .form-grid, .quote-form .form-grid + fieldset, .quote-form fieldset + .form-grid { margin-top: 1.5rem; }
.quote-form__submit { margin-top: 1.75rem; }
.quote-form__fine { margin-top: .9rem; font-size: .875rem; }
.aside { display: grid; gap: 1.5rem; align-content: start; }
.aside > div { border-top: 3px solid var(--green); padding-top: 1rem; }
.aside h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.aside p { font-size: .97rem; }
.aside a { font-weight: 600; }

/* Thank-you and not-found pages */
.thanks { padding-block: clamp(3rem, 7vw, 6rem) var(--section-y); }
.thanks h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.5rem); max-width: 14ch; }
.thanks .lead { margin-top: 1.25rem; }
.thanks ol { margin-top: 1.5rem; padding-left: 1.2rem; display: grid; gap: .5rem; max-width: 60ch; }
.thanks .actions { margin-top: 2rem; }

/* The Legal Solutions lockup carries a second line, so it runs a little larger than the main-site logo */
.brand__logo { height: 42px; }
@media (max-width: 599px) { .brand__logo { height: 34px; } }
.site-footer__logo { height: 42px; }
