/* seo.css: the server-rendered public pages (src/atlas/seo/templates/*.html), on top of
 * whizply.css and home.css. Same rules as home.css: every colour, radius, shadow and font from
 * whizply.css's tokens, no palette of its own, and nothing that needs script to show. Classes are
 * `sx-*` so they never meet the app's or the home page's. */

/* breadcrumbs: a quiet line above the first section */
.sx-crumbs { max-width: 1180px; margin: 0 auto; padding: 18px 24px 0; }
.sx-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); font-weight: 600; color: var(--sub); }
.sx-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted, var(--sub)); }
.sx-crumbs a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* hero: the headline and calls to action, the company's facts beside them */
.sx-hero { padding-top: 40px; padding-bottom: 72px; }
.sx-hero__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; align-items: start; }
.sx-hero__title { display: flex; align-items: flex-start; gap: 18px; }
.sx-hero__copy .hm-h1 { text-align: left; }
.sx-logo { flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sx-logo img { width: 48px; height: 48px; object-fit: contain; }
.sx-lede { margin: 22px 0 0; max-width: 60ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; font-weight: 600; color: var(--slate); }
.sx-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.sx-signin { font-size: 15.5px; font-weight: 700; color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.sx-facts { display: grid; gap: 0; margin: 8px 0 0; padding: 6px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sx-facts > div { display: grid; gap: 2px; padding: 14px 0; }
.sx-facts > div + div { border-top: 1px solid var(--line); }
.sx-facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sub); }
.sx-facts dd { margin: 0; font-size: var(--fs-lead); font-weight: 700; color: var(--ink); }
.sx-facts a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* sections */
.sx-sec { padding-top: 80px; padding-bottom: 80px; }
.sx-sec .hm-head { margin-bottom: 36px; }
.sx-card { padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sx-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; }
.sx-counts { display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; }
.sx-counts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: var(--fs-base); font-weight: 600; color: var(--ink); }
.sx-counts li + li { border-top: 1px solid var(--line); }
.sx-counts b { font-variant-numeric: tabular-nums; font-weight: 700; }
.sx-note { max-width: 860px; margin: 22px auto 0; text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--sub); }
.sx-band { margin-top: 32px; }

/* skills: numbered, two columns on wide screens */
.sx-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; counter-reset: sx; }
.sx-skills li { counter-increment: sx; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.sx-skills li::before { content: counter(sx); flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-deep); font-size: var(--fs-sm); font-weight: 700; }
.sx-skills__name { flex: 1 1 auto; font-weight: 700; color: var(--ink); }
.sx-skills__share { flex: 0 0 auto; font-size: var(--fs-sm); font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums; }

/* newest openings */
.sx-roles { display: grid; gap: 0; max-width: 920px; margin: 0 auto; padding: 0 22px; list-style: none; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sx-roles li { display: grid; gap: 3px; padding: 15px 0; }
.sx-roles li + li { border-top: 1px solid var(--line); }
.sx-roles__title { font-size: var(--fs-lead); font-weight: 700; color: var(--ink); }
.sx-roles__meta { font-size: var(--fs-sm); font-weight: 600; color: var(--sub); }
.sx-roles__meta:empty { display: none; }

/* courses */
.sx-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 auto; padding: 0; list-style: none; }
.sx-courses li { display: grid; align-content: start; gap: 8px; }
.sx-courses__skill { justify-self: start; padding: 3px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-deep); font-size: var(--fs-xs); font-weight: 700; }
.sx-courses__title { font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.sx-courses__title:hover { text-decoration-color: currentColor; }
.sx-courses__meta { font-size: var(--fs-sm); font-weight: 600; color: var(--sub); }
.sx-courses__meta:empty { display: none; }

/* more companies */
.sx-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.sx-links li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.sx-links a { font-weight: 700; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.sx-links span { font-size: var(--fs-sm); font-weight: 600; color: var(--sub); white-space: nowrap; }

/* course topics and mentor profiles (templates/courses.html, mentor.html, mentors_hub.html) */
.sx-tagged { display: grid; justify-items: center; gap: 10px; max-width: 920px; margin: 0 auto 28px; text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--sub); }
.sx-tagged p { margin: 0; }
.sx-tagged .wz-tags, .sx-tagrow { justify-content: center; margin: 0 auto; padding: 0; list-style: none; max-width: 920px; }
.sx-who { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.sx-who svg { flex: 0 0 auto; color: var(--accent-deep); }
.sx-who a, .sx-past a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.sx-past { margin: 8px 0 0; font-size: var(--fs-base); font-weight: 600; color: var(--sub); }
.sx-paused { margin: 0; font-size: var(--fs-lead); font-weight: 700; color: var(--ink); }
.sx-mentors .wz-tags { margin: 4px 0 0; padding: 0; list-style: none; }
.sx-mentors__head { font-size: var(--fs-base); font-weight: 600; line-height: 1.45; color: var(--slate); }

@media (max-width: 1000px) {
  .sx-hero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sx-courses, .sx-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sx-hero { padding-top: 24px; padding-bottom: 56px; }
  .sx-sec { padding-top: 56px; padding-bottom: 56px; }
  .sx-hero__title { flex-direction: column; gap: 14px; }
  .sx-split, .sx-skills, .sx-courses, .sx-links { grid-template-columns: minmax(0, 1fr); }
}

/* role by city, the hubs and the skill report (templates/jobs.html, jobs_hub.html,
   companies_all.html, report_skills.html) */
.sx-counts a, .sx-roles__meta a, .sx-hubs a, .sx-card__sub a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.sx-links b { font-weight: 700; color: var(--ink); }
.sx-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.sx-hub .sx-card { scroll-margin-top: 96px; }
.sx-card__sub { margin: 4px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--sub); }
.sx-ranked { display: grid; gap: 0; margin: 10px 0 0; padding: 0; list-style: none; }
.sx-ranked li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: var(--fs-base); font-weight: 600; color: var(--ink); }
.sx-ranked li + li { border-top: 1px solid var(--line); }
.sx-ranked span { flex: 1 1 auto; min-width: 0; }
.sx-ranked b { font-variant-numeric: tabular-nums; font-weight: 700; }
.sx-change { flex: 0 0 auto; padding: 2px 8px; border-radius: var(--pill); background: var(--surface-2); color: var(--sub); font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-change--up { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok-ink); }
.sx-change--down { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad-ink); }
.sx-method { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; padding: 0 0 0 20px; font-size: var(--fs-base); font-weight: 600; line-height: 1.55; color: var(--slate); }
.sx-months__title { max-width: 860px; margin: 36px auto 12px; text-align: center; }
.sx-months, .sx-letters ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.sx-months a, .sx-months span, .sx-letters a { display: inline-block; padding: 6px 14px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; color: var(--accent-deep); }
.sx-months span[aria-current] { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-deep); }
.sx-letters { margin: 0 auto 8px; }
.sx-letters a { min-width: 40px; text-align: center; }
.sx-letter { max-width: 920px; margin: 40px auto 0; scroll-margin-top: 96px; }
.sx-letter h3 { margin: 0 0 14px; }

@media (max-width: 1000px) {
  .sx-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sx-hub { grid-template-columns: minmax(0, 1fr); }
}
