/* skills.html: this page's own styles. Shared components live in main.css. */
.skills-breadcrumb {
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
  color: var(--fg-subtle);
}
.skills-breadcrumb a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  opacity: 1;
}
.skills-breadcrumb a:hover {
  color: var(--cyan-text);
}
.skills-breadcrumb-sep {
  margin: 0 0.4rem;
}
.skills-hero {
  padding: 20px 0 40px;
  text-align: center;
}
.skills-hero h1 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.skills-subhead {
  font-size: var(--text-md);
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.skills-subhead a {
  color: var(--cyan-text);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
}
.skills-subhead a:hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.how-to-use {
  padding: 0 0 60px;
}
.how-to-intro {
  font-size: var(--text-base);
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.how-to-intro a {
  color: var(--cyan-text);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
}
.how-to-intro a:hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.install-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.install-methods .install-method:first-child {
  grid-column: 1 / -1;
}
.install-method {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-width: 0;
}
.install-method h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.install-method h3 i {
  margin-right: 0.4rem;
  color: var(--cyan-text);
}
.code-snippet {
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  overflow-x: auto;
}
.code-snippet code {
  display: block;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-sm);
  color: var(--on-dark);
  line-height: 1.6;
  white-space: pre;
}
.install-note {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.5;
}
.how-to-repo {
  text-align: center;
}
.how-to-repo a {
  display: inline-block;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  border: 2px solid var(--fg);
  border-radius: var(--radius-md);
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease;
}
.how-to-repo a:hover {
  background: var(--fg);
  color: var(--bg);
}
.how-to-repo a i {
  margin-right: 0.4rem;
}
.skills-disclaimer {
  padding: 0 0 60px;
}
.disclaimer-banner {
  background: var(--amber);
  color: var(--on-bright);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-base);
  margin-bottom: 2rem;
}
.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.do-col, .dont-col {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.do-col h3 {
  color: var(--green-text);
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.dont-col h3 {
  color: var(--red-text);
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.do-col ul.dont-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.do-col li.dont-col li {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  padding: 0.25rem 0;
}
.why-skills {
  padding: 0 0 60px;
}
.why-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-skills-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.why-skills-card h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-skills-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.5;
}
.scoring-section {
  padding: 0 0 60px;
}
.scoring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.scoring-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}
.scoring-range {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
}
.scoring-card h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.scoring-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.4;
}
.scoring-threshold {
  background: var(--tint-cyan);
  border-left: 4px solid var(--cyan);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--fg-2);
}
.abstraction-section {
  padding: 0 0 60px;
}
.abstraction-examples {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.abstraction-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.abstraction-before, .abstraction-after {
  flex: 1;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.abstraction-before {
  border-left: 3px solid var(--rose);
}
.abstraction-after {
  border-left: 3px solid var(--cyan);
}
.abstraction-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  margin-bottom: 0.25rem;
}
.abstraction-before code.abstraction-after code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-sm);
  color: var(--fg);
}
.abstraction-arrow {
  color: var(--fg-subtle);
  font-size: var(--text-base);
  flex-shrink: 0;
}
.abstraction-why {
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.choose-path {
  padding: 0 0 60px;
}
.path-intro {
  font-size: var(--text-base);
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.path-card {
  display: block;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid transparent;
  text-decoration: none;
  color: var(--fg);
  transition: all 0.2s ease;
}
.path-card:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}
.path-card-code {
  border-left-color: var(--green);
}
.path-card-concept {
  border-left-color: var(--green);
}
.path-card-pbe {
  grid-column: 1 / -1;
  border-left-color: var(--purple);
}
.path-card-badge {
  display: inline-block;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  margin-bottom: 0.5rem;
}
.path-card h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.path-card p {
  font-size: var(--text-sm);
  opacity: 0.7;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.path-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.path-steps li {
  font-size: var(--text-sm);
  font-weight: 600;
  opacity: 0.8;
  padding: 0.15rem 0;
}
.skills-group-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  color: var(--fg);
}
.skills-group-title:first-of-type {
  margin-top: 0;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.skill-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: var(--fg);
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  position: relative;
}
.skill-card:hover {
  border-color: var(--border-strong);
}
.skill-card[data-step]::before {
  content: "Step " attr(data-step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fg-subtle);
}
.skill-entry-patent {
  border-left: 4px solid var(--green);
}
.skill-entry-pbe {
  border-left: 4px solid var(--purple);
}
.skill-icon {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
}
.skill-card h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.skill-card p {
  font-size: var(--text-sm);
  opacity: 0.7;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.skill-flow {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--fg-muted);
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  margin-bottom: 1rem;
}
.skill-links {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}
.skill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.skill-link-github {
  color: var(--bg);
  background: var(--fg);
}
.skill-link-github:hover {
  background: var(--purple-fill);
}
.skill-link-clawhub {
  color: var(--fg);
  border: 1px solid rgba(17, 17, 17, 0.25);
  background: transparent;
}
.skill-link-clawhub:hover {
  border-color: var(--cyan);
  color: var(--cyan-text);
}
.pbe-hub {
  margin-bottom: 0.5rem;
}
.pbe-hub .skill-card {
  max-width: 100%;
}
.pbe-spoke-label {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg-subtle);
  text-align: center;
  margin: 1rem 0;
}
.pbe-spokes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.advanced-context {
  font-size: var(--text-base);
  color: var(--fg-muted);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}
.workflow-section {
  padding: 60px 0 120px;
  text-align: center;
}
.workflow-dual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.workflow-path {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.workflow-path-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
}
.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.workflow-steps-sub {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.workflow-badge {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  color: var(--on-dark);
}
.badge-blue {
  background: var(--purple-fill);
}
.badge-purple {
  background: var(--purple-fill);
}
.badge-teal {
  background: var(--cyan);
  color: var(--on-bright);
}
.badge-dark {
  background: var(--bg-inverse);
}
.workflow-note {
  font-size: var(--text-base);
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
}
.skills-other-ways {
  padding: 0 0 120px;
  text-align: center;
}
.skills-other-text {
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 2;
}
.skills-other-text a {
  color: var(--cyan-text);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
}
.skills-other-text a:hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
@media (max-width: 768px) {
  .skills-hero {
    padding: 60px 0 30px;
  }
  .install-methods {
    grid-template-columns: 1fr;
  }
  .do-dont-grid {
    grid-template-columns: 1fr;
  }
  .path-cards {
    grid-template-columns: 1fr;
  }
  .path-card-pbe {
    grid-column: auto;
  }
  .why-skills-grid {
    grid-template-columns: 1fr;
  }
  .scoring-grid {
    grid-template-columns: 1fr 1fr;
  }
  .abstraction-row {
    flex-direction: column;
  }
  .abstraction-arrow {
    transform: rotate(90deg);
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .pbe-spokes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .skills-hero {
    padding: 40px 0 20px;
  }
  .skills-hero h1 {
    font-size: var(--text-xl);
  }
  .skill-card {
    padding: 1.25rem;
  }
  .code-snippet {
    padding: 0.5rem 0.75rem;
  }
  .code-snippet code {
    font-size: var(--text-xs);
  }
  .scoring-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    gap: 0.5rem;
  }
  .workflow-badge {
    font-size: var(--text-xs);
    padding: 0.3rem 0.75rem;
  }
  .path-card {
    padding: 1.25rem;
  }
}

/* This page's own versions of components other pages share. */
.badge-green {
  background: var(--green);
  color: var(--on-bright);
}
.workflow-arrow {
  color: var(--fg-subtle);
  font-size: var(--text-sm);
}

/* Inside article content, .content a would give this dark button link color. */
.content a.skill-link-github { color: var(--bg); border-bottom: none; }
.content a.skill-link-github:hover { color: var(--on-dark); border-bottom: none; }
