/* Palette: warm ivory paper, near-black ink and the orange of the Automation Skills logo (#d06b3c), with a serif display face. */
:root {
  --paper: #faf9f5;
  --card: #ffffff;
  --ink: #141413;
  --muted: #5e5d59;
  --line: #e8e6dc;
  --accent: #d06b3c;
  --accent-press: #b65a2e;
  --accent-soft: #f2d3c2;
  --accent-tint: #fbefe8;
  --code: #f0eee6;
  --av-l: 90%;
  --av-fg: 34%;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --label: "Space Grotesk", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1f1e1d;
    --card: #2a2a28;
    --ink: #faf9f5;
    --muted: #b0aea5;
    --line: #3d3d3a;
    --accent: #d06b3c;
    --accent-press: #de8458;
    --accent-soft: #4c2a1a;
    --accent-tint: #2e211b;
    --code: #262624;
    --av-l: 26%;
    --av-fg: 80%;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
[hidden] { display: none !important; }

.staging-bar { background: var(--accent); color: #fff; text-align: center; font: 500 12px/1.4 var(--label); letter-spacing: 0.06em; padding: 7px 16px; }
.announce { display: block; background: var(--ink); color: var(--paper); text-align: center; font-size: 13px; padding: 9px 16px; text-decoration: none; }
.announce span { color: var(--accent); white-space: nowrap; }
.announce:hover span { text-decoration: underline; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.nav-cta { color: var(--accent); font-weight: 500; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--paper) !important; border: 1px solid transparent; cursor: pointer;
  font: 500 14px/1 var(--sans); padding: 12px 18px; border-radius: 6px; text-decoration: none;
}
.btn:hover { background: var(--accent-press); }
.btn.accent { background: var(--accent); color: #fff !important; }
.btn.accent:hover { background: var(--accent-press); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.wide { width: 100%; }

/* hero */
.hero { padding: 80px 24px 48px; text-align: center; }
.hero h1 { font-size: clamp(42px, 7.4vw, 76px); line-height: 1.02; margin: 0 auto 22px; max-width: 900px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.lead { color: var(--muted); font-size: 18px; max-width: 660px; margin: 0 auto; }
.hero .btn { margin-top: 28px; }
.eyebrow { display: block; font: 500 12px/1.3 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.search { position: relative; max-width: 640px; margin: 36px auto 0; }
.search.wide { max-width: none; margin: 28px 0 0; }
.search input {
  width: 100%; font: 16px var(--sans); color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; padding: 17px 60px 17px 48px; outline: none;
  box-shadow: 0 1px 2px rgba(20, 20, 19, .04), 0 8px 24px rgba(20, 20, 19, .05);
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-icon { position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border: 2px solid var(--muted); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--muted); right: -4px; bottom: -6px; transform: rotate(-45deg); }
.search kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 11px var(--label); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; }
.pills, .filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px auto 0; max-width: 820px; }
.filters { justify-content: flex-start; max-width: none; margin: 16px 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--sans); color: var(--ink); background: var(--card); cursor: pointer;
  border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; text-decoration: none;
}
.pill:hover { border-color: var(--ink); }
.pill i { font: 500 11px var(--label); font-style: normal; color: var(--muted); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill[aria-pressed="true"] i { color: var(--paper); }

/* avatars and company marks: a letter on a tint, never a face */
.av, .logo { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font: 500 15px/1 var(--serif); width: 40px; height: 40px; object-fit: cover;
  background: hsl(var(--h, 30) 40% var(--av-l)); color: hsl(var(--h, 30) 45% var(--av-fg)); }
.logo { border-radius: 10px; width: 44px; height: 44px; font-size: 22px; }
.av.xs { width: 18px; height: 18px; font-size: 10px; }
.av.sm { width: 26px; height: 26px; font-size: 12px; border: 2px solid var(--card); margin-left: -8px; }
.av.sm:first-child { margin-left: 0; }
.av.md { width: 44px; height: 44px; font-size: 18px; }
.av.lg { width: 76px; height: 76px; font-size: 30px; }
.av.xl, .logo.xl { width: 112px; height: 112px; font-size: 46px; }
.logo.xl { border-radius: 22px; }
.logo.xs { width: 18px; height: 18px; border-radius: 4px; }
.logo.dark { background: #141413; }
.logo img { width: 70%; height: 70%; }
img.av { background: none; border-radius: 50%; }
.dashed { background: transparent !important; border: 1.5px dashed var(--muted) !important; color: var(--muted) !important; font-family: var(--sans); }
.c0 { --h: 12; } .c1 { --h: 24; } .c2 { --h: 280; } .c3 { --h: 170; } .c4 { --h: 145; } .c5 { --h: 220; } .c6 { --h: 250; } .c7 { --h: 200; } .c8 { --h: 330; }
.avs { display: inline-flex; align-items: center; }

/* featured contributors */
.featured { padding: 24px 0 56px; }
.sec-title { font-size: 36px; margin: 0 0 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.track .dup { display: contents; }
.track.static { animation: none; margin: 0 auto; }
.marquee:has(.static) { mask-image: none; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.feat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; width: 210px; padding: 0 12px; text-decoration: none; }
.feat .av { margin-bottom: 12px; }
.feat b { font: 400 21px/1.2 var(--serif); letter-spacing: -0.01em; }
.feat small { font-size: 13px; color: var(--muted); }
.feat-line { font-size: 12px; color: var(--muted); opacity: .85; }
.feat .ex { position: absolute; top: 0; right: 40px; }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .track .dup { display: none; }
  .marquee { overflow-x: auto; mask-image: none; }
}

.community { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; text-align: center; }
.cobrand { display: flex; align-items: center; justify-content: center; gap: 20px 56px; margin-top: 28px; }
.co-logo { display: block; opacity: .8; transition: opacity .2s; }
.co-logo:hover { opacity: 1; }
.co-logo img { display: block; height: 60px; width: auto; }
.co-logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .co-logo .on-light { display: none; }
  :root:not([data-theme="light"]) .co-logo .on-dark { display: block; }
}
.cobrand .x { color: var(--muted); font-size: 34px; line-height: 1; }
.partner { font: 600 76px/1 var(--sans); color: var(--muted); text-decoration: none; opacity: .8; transition: color .2s, opacity .2s; }
.partner:hover { color: var(--accent); opacity: 1; }
@media (max-width: 560px) { .cobrand { gap: 16px 28px; } .co-logo img { height: 40px; } .partner { font-size: 52px; } .cobrand .x { font-size: 26px; } }
.slot { font: 400 26px/1 var(--serif); color: var(--muted); text-decoration: none; border: 1.5px dashed var(--line); border-radius: 8px; padding: 10px 18px; }
.slot:hover { color: var(--accent); border-color: var(--accent); }

/* collection sections on the home page */
.coll { padding-top: 64px; scroll-margin-top: 24px; }
.coll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.coll-head h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin: 10px 0 10px; }
.coll-head p { color: var(--muted); margin: 0; max-width: 620px; }
.more { font-size: 14px; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--accent); }
.browse { padding: 56px 24px 72px; text-align: center; }
.more.big { font: 400 26px var(--serif); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.newsletter { border-top: 1px solid var(--line); padding: 64px 0; text-align: center; }
.newsletter h2 { font-size: 34px; margin: 0 0 8px; }
.newsletter p { color: var(--muted); margin: 0 auto 22px; max-width: 520px; }

/* skill cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-height: 290px;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px 18px 40px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--ink); box-shadow: 0 10px 28px rgba(20, 20, 19, .07); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.skill-head .card-top { border: 0; padding: 0; justify-content: flex-start; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ex { font: 500 10px var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--muted); border-radius: 3px; padding: 2px 6px; vertical-align: middle; }
h1 .ex { font-size: 12px; position: relative; top: -0.6em; }
.by { display: flex; align-items: center; gap: 10px; min-width: 0; }
.by > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.by b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.by small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card h3 { margin: 4px 0 0; font-size: 26px; line-height: 1.1; }
.card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.go { color: var(--muted); }
.card .go { position: absolute; right: 18px; bottom: 14px; }
.card:hover .go { color: var(--accent); }
#empty { text-align: center; color: var(--muted); padding: 40px 0 0; }

/* inner pages */
main { padding-bottom: 88px; }
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(40px, 6.4vw, 64px); line-height: 1.04; margin: 0 0 14px; max-width: 900px; }
.page-head .lead { margin: 0; max-width: 560px; font-size: 17px; }
.small { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.meta { margin: 24px 0 14px; color: var(--muted); font: 500 13px var(--label); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 56px 0 18px; }
.sec-head h2 { font-size: 34px; margin: 0; }
.sec-head span { color: var(--muted); font-size: 13px; }

/* collections */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 18px; margin-top: 32px; }
.ccard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px; text-decoration: none; }
.ccard:hover { border-color: var(--ink); }
.ccard h2 { font-size: 30px; line-height: 1.1; margin: 10px 0 10px; }
.ccard p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.csteps { list-style: none; padding: 16px 0 0; margin: 0 0 18px; border-top: 1px solid var(--line); font-size: 14px; }
.csteps li { display: flex; gap: 14px; padding: 4px 0; }
.csteps span { font: 500 12px/1.9 var(--label); color: var(--muted); }
.ccard-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 13px; color: var(--muted); }
.ccard-foot .go { margin-left: auto; }
.step { padding-top: 56px; }
.step h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin: 10px 0 8px; }
.step > p { color: var(--muted); margin: 0 0 22px; max-width: 640px; }

/* contributors and companies */
.pgrid, .cogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 32px; }
.pcard, .cocard { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 20px; text-decoration: none; }
.pcard:hover, .cocard:hover { border-color: var(--ink); }
.pcard-head, .cocard-head { display: flex; align-items: center; gap: 14px; }
.pcard-head > span:nth-child(2), .cocard-head > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.pcard-head b, .cocard-head b { font: 400 22px/1.15 var(--serif); letter-spacing: -0.01em; }
.pcard-head small, .cocard-head small { color: var(--muted); font-size: 13px; }
.pcard p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cocard-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.cocard-foot small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open { border-style: dashed; background: transparent; }
.profile { display: flex; gap: 32px; align-items: flex-start; padding: 40px 0 8px; }
.profile h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.05; margin: 0 0 6px; }
.profile .role { color: var(--muted); margin: 0 0 14px; }
.profile .role a { color: var(--ink); }
.profile .bio { max-width: 620px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* skill page */
.skill-head { padding: 32px 0 8px; max-width: 760px; }
.skill-head h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.04; margin: 14px 0 14px; }
.skill-head .lead { margin: 0; max-width: none; font-size: 17px; }
.by-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; text-decoration: none; }
.by-pre { color: var(--muted); font-size: 14px; }
.skill-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-top: 32px; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 4px; min-width: 0; }
.tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs button {
  font: 500 13px var(--label); color: var(--muted); background: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: 14px 10px 12px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.panel { padding: 8px 28px 32px; }
.front { font: 13px/1.6 var(--label); background: var(--code); border-radius: 4px; padding: 14px 16px; margin: 20px 0 8px; }
.front div { display: flex; gap: 10px; }
.front dt { color: var(--muted); flex: none; }
.front dd { margin: 0; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px; }
.box h2 { font: 600 15px var(--sans); letter-spacing: 0; margin: 0 0 12px; }
.box p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.box .btn { margin-top: 8px; }
.itabs { display: flex; gap: 4px; margin-bottom: 12px; }
.itabs button { font: 500 12px var(--sans); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; cursor: pointer; }
.itabs button[aria-selected="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.cmd { display: block; font: 12px/1.5 var(--label); background: var(--code); border-radius: 4px; padding: 10px 12px; overflow-x: auto; white-space: nowrap; }
.src { display: block; text-align: center; font-size: 13px; color: var(--muted); text-decoration: none; margin-top: 14px; }
.src:hover { color: var(--ink); }
.side-author { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts { margin: 0; font-size: 13px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }

.prose h2 { font-size: 30px; line-height: 1.15; margin: 36px 0 10px; }
.prose h3 { font: 600 16px var(--sans); letter-spacing: 0; margin: 26px 0 6px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { font: 13px var(--label); background: var(--code); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--code); padding: 16px; border-radius: 4px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; margin: 18px 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 12px var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); font-size: 14px; margin: 18px 0; }

/* contribute */
.promptbox { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px; font: 14px/1.6 var(--label); white-space: pre-wrap; overflow-wrap: anywhere; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding-left: 40px; position: relative; margin: 14px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font: 600 13px/26px var(--label); text-align: center;
}

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 40px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer p { margin: 8px 0 0; }
footer .brand { color: var(--ink); font-size: 20px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .skill-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .cgrid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 14px; padding-bottom: 10px; }
  .nav { width: 100%; gap: 18px; }
  .hero { padding: 48px 16px 32px; }
  .coll-head { flex-direction: column; align-items: flex-start; }
  .grid, .pgrid, .cogrid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .profile { flex-direction: column; gap: 18px; }
  .av.xl, .logo.xl { width: 84px; height: 84px; font-size: 34px; }
  .panel { padding: 8px 18px 24px; }
  .search input { padding-right: 16px; }
  .search kbd { display: none; }
}

/* reference and layer pages */
.page-head .eyebrow { margin-bottom: 12px; }
.page-head .lead a { color: var(--ink); }
.doc-page { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 8px 28px 32px; margin-top: 32px; }
@media (max-width: 640px) { .doc-page { padding: 8px 18px 24px; } }

/* company mark next to people: a corner badge on larger avatars, a tiny mark before the role */
.avw { position: relative; display: inline-block; flex: none; line-height: 0; }
.avw .av { display: block; }
.logo.badge { position: absolute; right: -2px; bottom: -2px; width: 34%; height: 34%; min-width: 16px; min-height: 16px; border-radius: 28%; font-size: 9px; border: 2px solid var(--card); }
.avw.xl .logo.badge { font-size: 14px; }
.logo.xs { width: 14px; height: 14px; border-radius: 3px; font-size: 8px; margin-right: 5px; vertical-align: -2px; display: inline-grid; }
.feat .avw { margin-bottom: 12px; }
.feat .avw .av { margin-bottom: 0; }
.featured .feat .avw .logo.badge, .pcard .logo.badge { border-color: var(--paper); }
.pcard .logo.badge { border-color: var(--card); }

/* hero and the invitation */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero-ctas .btn { margin-top: 0; }
.join { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.join h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; margin: 10px 0 12px; max-width: 760px; }
.join .lead { margin: 0; max-width: 680px; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.join h3 { font: 600 13px var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.perks ul { list-style: none; padding: 0; margin: 0; }
.perks li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
.perks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.howto .steps { margin: 0; }
main > .join { margin-top: 32px; }
@media (max-width: 800px) { .join-grid { grid-template-columns: 1fr; gap: 24px; } }

/* the open spot in the featured row: a thin dashed frame with room around the circle */
.feat.open { border: 1.5px dashed var(--accent); border-radius: 10px; padding: 18px 12px 16px; margin: 0 8px; background: var(--accent-tint); }
/* room above and below the row, so the box's frame is never cut off by the scrolling strip */
.marquee { padding: 6px 0; }
.feat.open:hover { border-style: solid; }
.feat.open .av.dashed { border: 1.5px dashed var(--accent) !important; color: var(--accent) !important; background: var(--card) !important; font-size: 34px; }
.feat.open small { color: var(--ink); }
.btn.sm { font-size: 13px; padding: 9px 14px; margin-top: 10px; }

/* sample profiles in the featured row: labelled, so nobody reads them as real contributors */
.sec-note { margin: -16px 0 24px; color: var(--muted); font-size: 15px; }
.sec-note b { color: var(--ink); font-weight: 600; }
.sample-tag { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-soft); background: var(--accent-tint); border-radius: 999px; padding: 3px 9px; }

/* staging prospects: license chip on linked skills, and the not-yet-a-contributor note on their profile */
.lic { margin-left: auto; font: 600 10px/1 var(--label); letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 7px; }
.card-top .lic + i[data-ex] { display: none; }
.prospect-note { font-size: 13px; color: var(--muted); background: var(--accent-tint); border: 1px dashed var(--accent-soft); border-radius: 8px; padding: 8px 12px; margin: 8px 0 14px; }

/* company logos on people: bigger corner badge (Itay, 2026-11-24); full-bleed for logo images */
.logo.badge { width: 44%; height: 44%; min-width: 20px; min-height: 20px; right: -4px; bottom: -4px; }
.logo.full { background: #fff; overflow: hidden; }
.logo.full img { width: 100%; height: 100%; object-fit: cover; }
.logo.xs.full { border-radius: 3px; }

/* ---- gtmskills-style pass (Itay, 2026-11-24): person icon, company line, two pill rows, dark announce bar, more room */
.announce { background: #141413; color: #faf9f5; }
.av.ph { background: var(--line); color: var(--muted); overflow: hidden; display: inline-grid; place-items: end center; }
.av.ph svg { width: 78%; height: 78%; fill: currentColor; opacity: .75; }
.logo.xs { width: 18px; height: 18px; border-radius: 4px; vertical-align: -4px; }
.logo.sm { width: 26px; height: 26px; border-radius: 5px; margin-right: 7px; vertical-align: -6px; display: inline-grid; }
.logo.dark.xs img, .logo.dark.sm img { width: 82%; height: 82%; }
.feat { width: 248px; padding: 0 16px; gap: 6px; }
.feat .av.lg { width: 96px; height: 96px; margin-bottom: 16px; }
.feat b { font-size: 23px; }
.feat small { font-size: 14px; color: var(--ink); opacity: .85; }
.feat-co { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); opacity: .85; }
.featured { padding: 40px 0 80px; }
.marquee { padding: 10px 0; }
.pills { max-width: 900px; gap: 10px; }
.pills.cos { margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 7px; }
.pill .logo.xs { margin: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot.d0 { background: #3b82f6; } .dot.d1 { background: #c2410c; } .dot.d2 { background: #7c3aed; } .dot.d3 { background: #0f766e; } .dot.d4 { background: #be185d; }
.dot.d5 { background: #ca8a04; } .dot.d6 { background: #16a34a; } .dot.d7 { background: #0891b2; } .dot.d8 { background: #64748b; }
.coll { padding-top: 88px; }
.grid { gap: 24px; }
.card { padding: 22px 22px 46px; }
.pgrid, .cogrid { gap: 24px; }
.cobrand { margin-top: 32px; }
.or { text-align: center; font: 500 11px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.install-box .itabs { flex-wrap: wrap; }
.side-author-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.side-author-row .side-author { flex: 1; min-width: 0; }
.in { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; font: 600 13px var(--sans); color: var(--ink); text-decoration: none; flex: none; }
.in:hover { border-color: var(--ink); }
.modal { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.modal::backdrop { background: rgba(20, 20, 19, .45); }
.modal h2 { font-size: 28px; margin: 0 0 8px; }
.modal p { color: var(--muted); margin: 0 0 16px; }
.modal-x { position: absolute; right: 16px; top: 12px; background: none; border: 0; font-size: 24px; color: var(--muted); cursor: pointer; }
.copybox { display: block; width: 100%; text-align: left; cursor: pointer; font: 14px/1.6 ui-monospace, Menlo, monospace; }
.copybox:hover { border-color: var(--accent); }
.hint { display: block; color: var(--muted); font-size: 12px; margin: 6px 0 16px; }
.modal-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.modal-links a { color: var(--ink); }

/* tags under the search: topics in two compact rows, a fine dashed line, then companies (Itay, 2026-11-24) */
.hero .pills { max-width: 1060px; gap: 8px; margin-top: 18px; }
.hero .pill { font-size: 13px; padding: 6px 11px; }
.hero .pills.cos { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.hero { padding-bottom: 36px; }
.logo.ph { background: var(--line); color: var(--muted); }
.logo.ph svg { width: 62%; height: 62%; fill: currentColor; }

/* mobile: nothing runs off the screen, and the header keeps "Publish your skill" in view */
.skill-layout > * { min-width: 0; }
.doc, .panel, .front { max-width: 100%; }
.front dd { overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; max-width: 100%; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose img { max-width: 100%; height: auto; }
.prose code { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .skill-layout { grid-template-columns: minmax(0, 1fr); }
  .nav { flex-wrap: wrap; overflow: visible; gap: 6px 16px; }
}

/* the engini mark fills its tile, so the E reads even at pill size (Itay, 2026-11-24) */
.logo.dark img, .logo.dark.xs img, .logo.dark.sm img { width: 92%; height: 92%; object-fit: contain; }
.logo.xs { width: 20px; height: 20px; }
