/* ==========================================================================
   Taq Ventures — solutions hub page-only styles
   Loaded after assets/styles.css on solutions.html
   ========================================================================== */

/* ---- intro ---- */
.intro{
  padding: 84px 0 60px;
  border-bottom: 1px solid var(--line);
}
.intro .eyebrow{
  display:flex; align-items:center; gap: 10px;
  color: var(--muted); font-size: 14px; margin-bottom: 24px;
}
.intro .eyebrow .rule{ width: 28px; height: 2px; background: var(--accent-bright); }
.intro h1{
  font-size: clamp(32px, 4.5vw, 46px);
  letter-spacing: -0.01em;
}
.intro p{
  color: var(--muted);
  font-size: 18px;
  max-width: 60ch;
}

/* ---- solutions list: spec rows, matching the homepage services block ----
   The rows are grouped into the three pillars, in the same order and under the
   same headings as the Solutions dropdown in the header — the menu and the page
   it leads to are two ways into the same seven services, so they organise them
   the same way. Markup comes from solutionsGroupsMarkup() in
   netlify/edge-functions/lib/static-copy-map.mjs. */
.solutions-list{ padding: 40px 0 8px; }

/* Category heading. Deliberately the dropdown's heading idiom rather than a
   page-sized <h2>: small, uppercase and tracked out in brand blue with a short
   accent rule trailing the text, so the group reads as a category above its
   rows instead of competing with the service titles inside it. The rule trails
   rather than leads so the heading shares a left edge with the rows under it. */
.solutions-group-heading{ margin: 0 0 8px; }
.solutions-group-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
.solutions-group-link::after{
  content: '';
  flex: none;
  width: 26px;
  height: 2px;
  background: var(--accent);
  transition: width 0.15s ease, background 0.15s ease;
}
.solutions-group-link:hover{ color: var(--accent-bright); }
.solutions-group-link:hover::after{ width: 38px; background: var(--accent-solid); }
/* The pillar's own one-liner, so a category says what it covers before the
   services under it start naming parts of it. */
.solutions-group-subhead{
  color: var(--muted);
  font-size: 17px;
  max-width: 56ch;
  margin: 0;
}
/* Rule between groups only — the same arrangement as the dropdown, where the
   first group never carries one. The first row in a group drops its own
   hairline too, or the heading would be fenced off from the rows it heads. */
.solutions-group + .solutions-group{
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}
.solutions-group .row:first-of-type{ border-top: none; padding-top: 20px; }
.row{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.solutions-list .wrap .row:last-child{ border-bottom: none; }
.row h3{
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
}
.row p{
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 14px;
}
.row .btn{
  padding: 8px 16px;
  font-size: 13px;
}
@media (max-width: 640px){
  .row{ grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
}

/* ---- closing CTA ---- */
.cta-block{ padding: 76px 0; }
.cta-block h2{ font-size: 34px; }
.cta-block p{ color: var(--muted); margin-bottom: 24px; }

/* ---- mobile vertical rhythm: see the matching block in styles.css ---- */
@media (max-width: 640px){
  .intro{ padding: 40px 0 32px; }
  .intro .eyebrow{ margin-bottom: 18px; }
  .intro p{ font-size: 17px; }
  .solutions-list{ padding: 26px 0 4px; }
  .solutions-group-subhead{ font-size: 16px; }
  .solutions-group + .solutions-group{ margin-top: 24px; padding-top: 24px; }
  .solutions-group .row:first-of-type{ padding-top: 14px; }
  .cta-block{ padding: 44px 0; }
  .cta-block h2{ font-size: 28px; }
}

/* The FAQ list reads as a column of questions rather than full-width prose.
   Was a style="max-width" attribute on faq.html; moved here so the
   Content-Security-Policy in _headers can leave 'unsafe-inline' out of
   style-src. */
.faq-wrap{
  max-width: 780px;
}
