/* Small additions to the original site's stylesheet. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
section[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 3px solid #e7000b; outline-offset: 5px; }
body { min-width: 280px; }
a { -webkit-tap-highlight-color: transparent; }
.brand { color: inherit; text-decoration: none; }
.brand-name { font-family: "ChunkFive Ex", Georgia, serif; }
.brand-mark { flex: 0 0 48px; }
.hero-brand { padding: 100px 0 112px; }
.hero-mark { display: block; width: 240px; height: 240px; margin: 0 auto -12px; }
.hero-name { margin: 0; font-family: "ChunkFive Ex", Georgia, serif; font-size: clamp(54px, 11vw, 84px); line-height: 1.15; letter-spacing: -.04em; color: #18181b; }
.hero-tagline { margin-top: 18px; font-size: 17px; line-height: 1.5; letter-spacing: .27em; color: #27272a; }
#home { min-height: 100svh; }
.product-card { position: relative; }
.product-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.product-card:focus-within { outline: 3px solid #e7000b; outline-offset: 5px; }
.product-card .product-link:focus-visible { outline: none; }
.opensource-section { padding: 96px 0; background: #fafafa; border-block: 1px solid #f4f4f5; }
.opensource-catalog { display: grid; gap: 32px; max-width: 768px; margin: 0 auto; }
.opensource-card { min-width: 0; padding: 32px; background: #fff; border: 2px solid #e4e4e7; border-radius: 12px; transition: border-color .3s, box-shadow .3s; }
.opensource-card:hover { border-color: #fecaca; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .08); }
.opensource-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.opensource-status { padding: 3px 9px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; font-size: 12px; }
.opensource-card h3 { margin-bottom: 6px; }
.opensource-description { margin: 24px 0; }
.opensource-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; list-style: none; }
.opensource-features li { padding: 4px 12px; color: #3f3f46; background: #f4f4f5; border-radius: 999px; font-size: 14px; }
.opensource-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #f4f4f5; }
.opensource-license { color: #71717a; font-size: 14px; text-underline-offset: 4px; }
.opensource-license:hover { color: #b91c1c; text-decoration: underline; }
.opensource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.opensource-docs { display: inline-flex; align-items: center; min-height: 44px; color: #b91c1c; font-size: 14px; text-underline-offset: 4px; }
.opensource-docs:hover { text-decoration: underline; }
.opensource-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; color: #fff; background: #e7000b; border-radius: 8px; font-size: 14px; transition: background-color .15s; }
.opensource-primary:hover { background: #c10007; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; color: #27272a; cursor: pointer; }
.menu-toggle:hover { background: #fef2f2; }
.menu-toggle[aria-expanded="true"] { background: #fee2e2; color: #e7000b; }
.mobile-nav { display: flex; flex-direction: column; gap: 16px; padding: 20px 0 8px; }
.mobile-nav a { display: block; width: fit-content; }
html:not(.js) #site-header { position: static; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); z-index: 100; padding: 12px 20px; color: #fff; background: #b91c1c; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
@media (min-width: 768px) {
  .mobile-nav, .menu-toggle { display: none; }
}
@media (max-width: 767px) {
  .hero-mark { width: 210px; height: 210px; }
  .hero-tagline { font-size: 13px; letter-spacing: .22em; }
  #products, #open-source, #about, #contact { padding-top: 72px; padding-bottom: 72px; }
  .opensource-card { padding: 24px; }
}
@media (max-width: 359px) {
  .hero-name { font-size: 49px; }
  .hero-tagline { font-size: 12px; }
  #products h2, #open-source h2, #about h2, #contact h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
