/* The start guide (store/guide.js): the role cards and the two guides. Built on x1.css tokens only, so the
 * store's /start pages and the static minisite (start/, which copies this file) look the same. */
.st { max-width: 1180px; margin: 0 auto; padding: 0 var(--s5); }
.st-eyebrow { margin: 0 0 var(--s4); color: var(--accent-ink); font: 700 12px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.st-hero { padding: 72px 0 64px; max-width: 880px; }
.st-hero h1 { margin: 0; font: 400 clamp(2.1rem, 5.2vw, 4.2rem)/1.02 var(--display); letter-spacing: .01em; color: var(--heading); text-wrap: balance; }
.st-lede { max-width: 620px; margin: var(--s5) 0 0; color: var(--dim); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s6); }
.st-note { display: flex; align-items: center; gap: 10px; margin: var(--s5) 0 0; color: var(--dim); font-size: 14px; }
.st-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent); flex: none; }

/* role cards */
.st-hero-choose { max-width: none; padding-bottom: var(--s7); }
.st-hero-choose h1 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.st-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.st-role { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--text);
  text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s, background .15s; }
.st-role:hover { border-color: var(--accent); transform: translateY(-2px); }
.st-role.is-current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.st-role-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-role b { font: 400 22px/1.2 var(--display); letter-spacing: .03em; color: var(--heading); }
.st-role-text { color: var(--dim); }
.st-role-cta { margin-top: var(--s2); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
.st-role-now { align-self: flex-start; margin-top: 2px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.st-ico { flex: none; width: 52px; height: 52px; border-radius: var(--r); background: var(--accent-soft); position: relative; }
.st-ico::after { content: ""; position: absolute; inset: 12px; background: var(--accent-ink); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.st-ico[data-ico=player] { --ico: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 7h10a5 5 0 0 1 4.9 6l-.7 3.4a2.6 2.6 0 0 1-4.5 1.2L15 16H9l-1.7 1.6a2.6 2.6 0 0 1-4.5-1.2L2.100 13A5 5 0 0 1 7 7z"/><path d="M8 10v3M6.500 11.500h3M15.500 10.500h.01M17.500 12.500h.01"/></svg>'); }
.st-ico[data-ico=dev] { --ico: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m8 7-5 5 5 5M16 7l5 5-5 5M13.500 5l-3 14"/></svg>'); }

/* sections */
.st-section { padding: 64px 0; border-top: 1px solid var(--line); }
.st-head { max-width: 660px; margin-bottom: var(--s6); }
.st-head h2, .st-cta h2 { margin: 0 0 var(--s3); font: 400 clamp(1.7rem, 3.6vw, 2.8rem)/1.1 var(--display); letter-spacing: .01em; text-wrap: balance; }
.st-head > p:last-child { margin: 0; color: var(--dim); font-size: 1.05rem; }

.st-paths { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s4); }
.st-path { grid-column: span 2; display: flex; flex-direction: column; min-height: 220px; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.st-path:nth-child(4), .st-path:nth-child(5) { grid-column: span 3; }
.st-num { display: block; margin-bottom: var(--s6); color: var(--accent-ink); font: 600 13px/1 var(--mono); }
.st-path h3 { margin: 0 0 var(--s2); font-size: 1.2rem; }
.st-path p { margin: 0 0 var(--s4); color: var(--dim); }
.st-tag { align-self: flex-start; margin-top: auto; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font: 600 11px/1.4 var(--mono); }

.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.st-steps li { display: flex; gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.st-step-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--accent-ink); border-radius: 50%; color: var(--accent-ink); font: 600 13px/1 var(--mono); }
.st-steps h3 { margin: 3px 0 6px; font-size: 1.05rem; }
.st-steps p { margin: 0; color: var(--dim); font-size: 14.5px; }
.st-more { display: inline-block; margin-top: var(--s3); font-weight: 700; font-size: 14px; color: var(--accent-ink); text-decoration: none; }
.st-more:hover { text-decoration: underline; }
.st-callout { margin-top: var(--s4); padding: var(--s4) var(--s5); border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--accent-soft); color: var(--text); }
.st-callout strong { color: var(--heading); }

.st-types { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s4); align-items: start; }
.st-type-list { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.st-type-list > div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); border-top: 1px solid var(--line); }
.st-type-list > div:first-child { border-top: 0; }
.st-type-list code { justify-self: start; color: var(--accent-ink); }
.st-type-list p { margin: 0; color: var(--dim); }
.st-aside { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.st-aside h3 { margin: 0 0 var(--s3); }
.st-aside p { margin: 0 0 var(--s3); color: var(--dim); }
.st-aside a { display: flex; justify-content: space-between; gap: var(--s4); padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; }

.st-cta { margin: var(--s6) 0 72px; padding: var(--s7); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: radial-gradient(ellipse at 90% 0, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), var(--card); }
.st-cta > p:not(.st-eyebrow) { max-width: 580px; color: var(--dim); margin: 0; }
.st-cta .st-actions { margin-top: var(--s5); }

/* "this guide is for …, switch" line above a guide inside the store */
.st-switch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding-top: var(--s5); color: var(--dim); font-size: 14px; }

@media (max-width: 900px) {
  .st-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-path, .st-path:nth-child(4), .st-path:nth-child(5) { grid-column: auto; }
  .st-types { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .st { padding: 0 var(--s4); }
  .st-hero { padding: 48px 0 44px; }
  .st-section { padding: 44px 0; }
  .st-roles, .st-paths, .st-steps { grid-template-columns: minmax(0, 1fr); }
  .st-path { min-height: 0; }
  .st-num { margin-bottom: var(--s4); }
  .st-role, .st-steps li { padding: var(--s4); }
  .st-type-list > div { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .st-cta { padding: var(--s5); margin-bottom: var(--s7); }
  .st-actions .btn.lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .st-role:hover { transform: none; } }
