/* Start a project (/start/, /en/start/). Class prefix: st-.
   The services are picked from a wall of small bricks: each is a radio button, and the one
   picked takes its family's glaze. */

.st-hero .page-hero-grid { padding-bottom: clamp(40px, 5vw, 64px); }
.st-hero h1 { max-width: 16em; }

.st-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }

/* ---------- the service picker ---------- */
.st-services { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.st-services legend { padding: 0; margin-bottom: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); color: var(--lapis-900); }
.st-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-pick { position: relative; display: flex; cursor: pointer; }
.st-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-pick span {
  flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; border-radius: 3px;
  background: linear-gradient(180deg, #ffffff, #f1f4fa);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 3px 0 var(--fam, var(--lapis-300)), inset 0 -3px 0 rgba(14,27,82,.06);
  transition: box-shadow .25s var(--ease), background .25s, transform .25s var(--ease);
}
.st-pick b { font-family: var(--f-display); font-weight: 700; font-size: 16.5px; line-height: 1.35; color: var(--lapis-900); }
.st-pick small { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.st-pick:hover span { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--lapis-300), inset 0 3px 0 var(--fam, var(--lapis-300)), inset 0 -3px 0 rgba(14,27,82,.06); }
.st-pick input:checked + span { background: linear-gradient(180deg, var(--g1, var(--lapis-700)), var(--g2, var(--lapis-900))); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -4px 0 var(--gold); }
.st-pick input:checked + span b { color: #fff; }
.st-pick input:checked + span small { color: var(--sub, #c9d3f2); }
.st-pick[data-family="auto"] input:checked + span b, .st-pick[data-family="auto"] input:checked + span small { color: var(--lapis-950); }
.st-pick input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.st-unsure span { box-shadow: inset 0 0 0 1px var(--line), inset 0 3px 0 var(--gold), inset 0 -3px 0 rgba(14,27,82,.06); }

.field label small { font-weight: 400; color: var(--ink-3); }
.st-send { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.st-form .form-note { margin-top: 14px; }
.st-form .form-status { margin-top: 8px; min-height: 1.6em; }

/* ---------- aside: the direct ways in, and what happens next ---------- */
.st-aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.st-aside h2 { font-size: 21px; color: var(--lapis-900); }
.st-aside h2 + * { margin-bottom: 20px; }
.st-direct { list-style: none; border-top: 1px solid var(--line); }
.st-direct li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.st-direct span { color: var(--ink-3); }
.st-direct a { color: var(--lapis-700); font-family: var(--f-ui); font-weight: 500; text-decoration: none; }
.st-direct a:hover { color: var(--lapis-500); text-decoration: underline; }
.st-next { list-style: none; counter-reset: st; display: grid; gap: 14px; }
.st-next li { counter-increment: st; position: relative; padding-inline-start: 44px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.st-next li::before {
  content: counter(st); position: absolute; inset-inline-start: 0; top: 0;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 3px;
  font-family: var(--f-ui); font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, var(--lapis-700), var(--lapis-900)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25);
}
.st-next b { color: var(--ink); }
.st-odoo { margin-top: 6px; font-size: 15px; color: var(--ink-3); }

@media (max-width: 1060px) {
  .st-grid { grid-template-columns: minmax(0, 1fr); }
  .st-aside { position: static; }
}
@media (max-width: 760px) {
  .st-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .st-picks { grid-template-columns: minmax(0, 1fr); }
}
