@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #101820;
  --panel: #17232d;
  --panel-2: #1b2a35;
  --text: #f1f5f7;
  --muted: #9aaab5;
  --line: rgba(221,235,243,.12);
  --accent: #b7e3d0;
  --accent-dark: #18372f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.site-header {
  height: 78px; padding: 0 max(6vw, 24px); display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 11px; align-items: center; font: 700 18px 'Space Grotesk', sans-serif; letter-spacing: 1.4px; }
.brand-mark {
  display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--accent);
  color: var(--accent); font: 700 17px 'Space Grotesk', sans-serif; border-radius: 8px;
}
.brand-light { color: var(--accent); font-weight: 500; }
.header-note, .section-kicker, .eyebrow, .result-count {
  font-size: 10px; letter-spacing: 2px; font-weight: 700; color: var(--muted);
}
.hero { padding: 105px 24px 91px; text-align: center; max-width: 980px; margin: auto; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 11px; color: var(--accent); }
.eyebrow-line { width: 25px; height: 1px; background: var(--accent); }
h1 {
  font: 600 clamp(48px, 7vw, 82px)/1.04 'Space Grotesk', sans-serif;
  letter-spacing: -4px; margin: 27px 0 22px;
}
h1 span { color: var(--accent); }
.hero-copy { max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.8; }
.search-wrap {
  max-width: 690px; height: 66px; margin: 39px auto 0; display: flex; align-items: center;
  gap: 15px; padding: 0 19px; border: 1px solid rgba(183,227,208,.35); background: #17232d;
  border-radius: 10px; box-shadow: 0 18px 55px rgba(0,0,0,.18);
}
.search-wrap svg { width: 21px; height: 21px; fill: none; stroke: var(--accent); stroke-width: 1.7; flex: none; }
.search-wrap input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 15px 'DM Sans', sans-serif; }
.search-wrap input::placeholder { color: #81919c; }
.search-wrap kbd { color: var(--accent); font: 700 9px 'DM Sans', sans-serif; letter-spacing: 1.3px; }
.search-hint { color: #71818c; font-size: 11px; margin-top: 13px; }
.library-section { max-width: 1120px; margin: 0 auto; padding: 0 24px 95px; }
.section-top { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.section-kicker { color: var(--accent); margin: 0 0 10px; }
h2 { font: 600 25px 'Space Grotesk', sans-serif; letter-spacing: -.7px; margin: 0; }
.result-count { font-size: 9px; letter-spacing: 1.4px; padding-bottom: 5px; }
.blocks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; padding-top: 22px; }
.block-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.block-preview { aspect-ratio: 4/3; background: #e8eceb; display: grid; place-items: center; color: #35434b; }
.block-preview img { width: 100%; height: 100%; object-fit: contain; }
.block-info { padding: 17px; }
.block-info h3 { margin: 0 0 7px; font: 600 16px 'Space Grotesk', sans-serif; }
.block-info p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.empty-state { text-align: center; padding: 62px 20px 20px; }
.empty-icon { color: var(--accent); font-size: 40px; line-height: 1; margin-bottom: 18px; }
.empty-state h3 { font: 600 18px 'Space Grotesk', sans-serif; margin: 0 0 9px; }
.empty-state p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 auto; max-width: 420px; }
.hidden { display: none; }
.about-strip {
  max-width: 1072px; margin: 0 auto 90px; padding: 34px 38px; border: 1px solid var(--line);
  border-radius: 12px; display: flex; align-items: center; gap: 27px; background: #14212a;
}
.about-symbol { width: 64px; height: 64px; border: 1px solid rgba(183,227,208,.5); border-radius: 12px; display: grid; place-items: center; color: var(--accent); font: 600 19px 'Space Grotesk'; flex: none; }
.about-strip h2 { font-size: 21px; margin-bottom: 8px; }
.about-strip p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
footer { border-top: 1px solid var(--line); padding: 27px max(6vw, 24px); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #83939e; font-size: 11px; }
.footer-brand { font-size: 14px; color: var(--text); }
.footer-brand .brand-mark { width: 27px; height: 27px; font-size: 14px; }
@media (max-width: 700px) {
  .site-header { height: 68px; }
  .header-note { font-size: 8px; letter-spacing: 1px; }
  .hero { padding: 76px 20px 68px; }
  h1 { letter-spacing: -2.5px; }
  .hero-copy { font-size: 14px; }
  .search-wrap { height: 60px; gap: 10px; padding: 0 13px; }
  .search-wrap input { font-size: 13px; }
  .search-wrap kbd { display: none; }
  .blocks-grid { grid-template-columns: 1fr; }
  .about-strip { margin: 0 20px 65px; padding: 24px; align-items: flex-start; gap: 17px; }
  .about-symbol { width: 48px; height: 48px; font-size: 15px; }
  .about-strip h2 { font-size: 18px; }
  footer { flex-direction: column; align-items: flex-start; }
}
