.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; border: 1px solid transparent; border-radius: 6px; padding: .75rem 1.05rem; font-size: .875rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .15s, border-color .15s; }
.button .icon { width: 18px; height: 18px; }
.button-primary { color: var(--color-on-accent); background: var(--color-accent); }
.button-primary:hover { color: var(--color-on-accent); background: color-mix(in srgb, var(--color-accent) 88%, var(--color-text)); }
.button-secondary { background: var(--color-surface); border-color: var(--color-line); color: var(--color-text); }
.button-secondary:hover { border-color: var(--color-muted); color: var(--color-text); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 600; color: var(--color-accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 17px; height: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { color: var(--color-muted); background: var(--color-surface-alt); border: 1px solid var(--color-line); border-radius: 4px; padding: .15rem .5rem; font-size: .75rem; line-height: 1.6; }
.status-badge { display: inline-flex; align-items: center; gap: .4rem; color: var(--color-muted); font-size: .7rem; font-weight: 500; white-space: nowrap; }
.status-badge > span { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.status-badge.active { color: var(--color-accent); }
.project-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.project-links a { display: inline-flex; align-items: center; gap: .25rem; text-decoration: none; font-size: .8rem; font-weight: 550; color: var(--color-muted); }
.project-links a:hover { color: var(--color-accent); text-decoration: underline; }
.project-links .icon { width: 15px; height: 15px; }
.project-identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.project-icon { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
.framework-screenshot { min-width: 0; }
.project-screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.examples-heading { margin-block: 2.5rem 1.5rem; }
.examples-heading p { color: var(--color-muted); max-width: 70ch; margin-bottom: 0; }
.framework-screenshot .screenshot-caption { margin-top: .65rem; color: var(--color-muted); font-size: .8rem; }
@media (max-width: 60rem) { .project-screenshots { grid-template-columns: 1fr; } }
.screenshot-link { display: block; border: 1px solid var(--color-line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-panel); background: #fff; }
.screenshot-link img { width: 100%; height: auto; }
.framework-screenshot figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .85rem; font-size: .75rem; color: var(--color-muted); }
.framework-screenshot figcaption a { display: inline-flex; align-items: center; gap: .25rem; text-decoration: none; }
.framework-screenshot figcaption .icon { width: 14px; height: 14px; }
.featured-project { display: grid; grid-template-columns: .8fr 1.15fr; gap: 3rem; align-items: center; padding: 2.5rem; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }
.featured-copy { min-width: 0; }
.featured-copy > h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-block: 1.5rem 1rem; letter-spacing: -.03em; }
.featured-copy h3 a { text-decoration: none; }
.featured-copy > p { color: var(--color-muted); }
.featured-copy .tags { margin-block: 1.25rem 1.75rem; }
.featured-copy > .project-links { margin-top: 1.5rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.project-card { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface); }
.project-card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.project-card h3 { font-size: 1.3rem; margin-top: .15rem; }
.project-card h3 a { text-decoration: none; }
.project-card > p { color: var(--color-muted); font-size: .925rem; max-width: 52ch; margin-bottom: 1.75rem; }
.project-card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.project-card .text-link { font-size: .8rem; }
.project-row { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem 2.5rem; border: 1px solid var(--color-line); border-radius: var(--radius); }
.project-row h3 { margin-block: .3rem .5rem; }
.project-row h3 a { text-decoration: none; }
.project-row p:not(.eyebrow) { color: var(--color-muted); font-size: .9rem; }
.project-row .text-link { white-space: nowrap; }
.code-block { border: 1px solid var(--color-line); border-radius: 8px; overflow: hidden; background: var(--color-surface); min-width: 0; }
.code-toolbar { display: flex; align-items: center; gap: 1rem; padding: .7rem 1.25rem; background: var(--color-surface-alt); border-bottom: 1px solid var(--color-line); font-size: .8rem; }
.code-toolbar > span:first-child { font-weight: 600; margin-right: auto; }
.code-language { color: var(--color-muted); font-size: .7rem; }
.code-dot { display: none; }
.copy-button { display: inline-flex; gap: .3rem; align-items: center; background: transparent; border: 1px solid var(--color-line); color: var(--color-text); border-radius: 4px; padding: .4rem .6rem; font-size: .75rem; min-height: 32px; }
.copy-button:hover { border-color: var(--color-muted); }
.copy-button .icon { width: 14px; height: 14px; }
.code-block pre { padding: 1.5rem; margin: 0; overflow-x: auto; font-size: .825rem; line-height: 1.9; color: var(--color-text); tab-size: 4; }
.code-block pre:focus-visible { outline-offset: -3px; }
@media (max-width: 70rem) {
  .featured-project { gap: 2rem; padding: 2rem; }
  .project-card-top { align-items: start; flex-direction: column; }
}
@media (max-width: 60rem) {
  .featured-project { grid-template-columns: 1fr; }
  .featured-project .framework-screenshot { width: 100%; }
}
@media (max-width: 40rem) {
  .project-grid { grid-template-columns: 1fr; gap: 1rem; }
  .project-card, .featured-project { padding: 1.25rem; }
  .project-row { padding: 1.25rem; align-items: start; flex-direction: column; gap: 1.25rem; }
  .project-icon { width: 48px; height: 48px; }
  .project-card-top { flex-direction: row; flex-wrap: wrap; }
  .code-toolbar { padding: .65rem .8rem; gap: .5rem; }
  .code-language { display: none; }
  .code-block pre { padding: 1rem; font-size: .75rem; }
  .button { font-size: .8rem; }
}

