/* Solutions page only (src/solutions.html). Tokens for every colour. Mobile first. */

/* ---------------------------------------------------------------- jump tiles under the hero */
.seg-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg-tile {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 4px;
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.seg-tile:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.seg-tile__icon { width: 40px; height: 40px; }
.seg-tile__icon path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.seg-tile__name { font-weight: 600; line-height: 1.2; }
@media (min-width: 560px) {
  .seg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .seg-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- one kind of property: a row of links */
.seg-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seg-link {
  display: inline-block;
  padding: 8px 14px;
  min-height: var(--target);
  line-height: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.section--alt .seg-link { background: var(--bg); }
.seg-link:hover { border-color: var(--accent); color: var(--accent); }

/* The jump tiles are a small strip, not a full band. */
.section:has(> .wrap > .seg-tiles) { padding-block: var(--s-5); }

/* ---------------------------------------------------------------- what each kind of property needs
   Four identical lists of links told a cottage owner and a 90-room hotel exactly the same thing. The
   areas ARE the same four - the system is one system - but what each business needs from them is not,
   so each one now says the situation first and links second. */
.seg-fit { display: grid; gap: 12px; margin: 0 0 var(--s-3); padding: 0; list-style: none; }
.seg-fit__item {
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.section--alt .seg-fit__item { background: var(--bg); }
.seg-fit__area {
  display: block;
  margin: 0 0 2px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.seg-fit__what { margin: 0; }
@media (min-width: 720px) {
  .seg-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
