/* Shared header and footer for every page. Design tokens: v2/DESIGN.md */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Nunito:wght@800;900&display=swap");

.site-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: rgba(237,237,237,.85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); font-family: "Geist", -apple-system, system-ui, sans-serif; }
.site-top .brandmark { display: flex; align-items: center; gap: 9px; font: 900 20px ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif; letter-spacing: -.03em; white-space: nowrap; color: #0B0B0B; text-decoration: none; }
.site-top .brandmark img { width: 30px; height: 30px; border-radius: 8px; }
.site-top .tagline { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #5E5E5E; }
.site-top .tagline b { color: #0B0B0B; font-weight: 700; font-variant-numeric: tabular-nums; }
.site-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex: none; }
.site-top .dot.live { animation: site-pulse 2s infinite; }
@keyframes site-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.site-top .get { display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; color: #0B0B0B; border-radius: 100px; padding: 10px 18px; font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; }
.site-top .get svg { width: 14px; height: 17px; fill: currentColor; }
.site-top .get .short { display: none; }

.site-foot { max-width: 1080px; margin: 0 auto; padding: 40px 20px 60px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; color: #5E5E5E; font: 500 14px "Geist", -apple-system, system-ui, sans-serif; border-top: 1px solid #DCDCDC; }
.site-foot .brandmark { display: flex; align-items: center; gap: 9px; font: 900 18px ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif; letter-spacing: -.03em; color: #0B0B0B; text-decoration: none; }
.site-foot .brandmark img { width: 26px; height: 26px; border-radius: 7px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot nav a:hover { color: #0B0B0B; }

@media (max-width: 860px) {
  .site-top { gap: 10px; padding: 12px 14px; }
  .site-top .tagline { font-size: 13px; gap: 6px; }
  .site-top .tagline .long { display: none; }
  .site-top .tagline::after { content: "dribbles"; }
  .site-top .get .long { display: none; }
  .site-top .get .short { display: inline; }
}
@media (max-width: 430px) { .site-top .brandmark { font-size: 0; gap: 0; } }
.site-foot nav.pop { flex-basis: 100%; gap: 8px 22px; font-size: 13px; }

/* Homepage: brand line in the H1, "What is Handles AI?" intro, and the generated links section */
.hero h1 .h1-brand { display: block; font-size: .42em; letter-spacing: -.02em; color: #FF6A13; margin-bottom: .25em; }
.block.intro { padding-top: 40px; padding-bottom: 20px; max-width: 820px; }
.block.intro > h2 { margin-bottom: 20px; }
.block.intro p { color: #5E5E5E; font-size: 18px; margin-top: 14px; }
.block.intro a, .explore a { color: #0B0B0B; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #DCDCDC; }
.explore .lead { max-width: 60ch; margin-top: -16px; }
.explore-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.explore-cols > div { background: #fff; border-radius: 24px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.explore-cols h3 { font-size: 20px; margin-bottom: 10px; }
.explore-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 15px; }
@media (max-width: 960px) { .explore-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .explore-cols { grid-template-columns: 1fr; } }

/* Generated pages: sibling links under "Keep training" */
.more { margin-top: 28px; }
.more h3 { font-size: 17px; margin: 0 0 8px; }
.more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
