.catalog-filters { display: flex; align-items: end; gap: 14px; margin-top: 24px; }
.catalog-filters label, .contact-form label { display: flex; flex-direction: column; gap: 8px; color: #a6afbe; font-size: 12px; }
.search-field { flex: 1; min-width: 0; }
.technology-field { width: 185px; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #303745; border-radius: 6px; background: #0d1117; color: var(--text); padding: 12px 13px; font: inherit; font-size: 14px; transition: border-color .2s, background .2s; }
input::placeholder, textarea::placeholder { color: #646f80; }
input:focus, select:focus, textarea:focus { outline: 2px solid #94baff55; outline-offset: 2px; border-color: #769bcc; background: #101720; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
select { cursor: pointer; }
textarea { resize: vertical; min-height: 145px; }
.text-button { padding: 12px 0; border: 0; background: transparent; color: #94baff; font-size: 13px; cursor: pointer; }
.entry-tags, .tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.entry-tags span, .tech-tags span { padding: 3px 9px; border: 1px solid #2b3748; border-radius: 4px; color: #9eafc6; font: 11px/1.6 'JetBrains Mono', Consolas, monospace; }
.entry h3 a:hover { color: var(--accent); }
.entry-links { flex-wrap: wrap; }
.site-section { padding: 65px 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.site-section.wrap { margin-top: 42px; }
.software-active .site-section { background: #08090bf0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 35px; }
.site-section h2 { margin: 0; font-size: clamp(32px, 3.3vw, 44px); font-weight: 500; line-height: 1.2; letter-spacing: -1.7px; }
.site-section h2 span { color: #808a9a; }
.section-heading > p { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-intro { margin: 14px 0 30px; color: var(--muted); font-size: 14px; }
.guide-list { border-top: 1px solid var(--line); }
.guide { border-bottom: 1px solid var(--line); }
.guide summary { display: flex; align-items: center; gap: 22px; padding: 24px 8px 24px 0; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.guide-number { align-self: start; padding-top: 2px; color: #6593be; font: 12px/1.8 'JetBrains Mono', Consolas, monospace; }
.guide summary strong { display: block; color: #dce2ed; font-size: 18px; font-weight: 500; }
.guide summary small { display: block; margin-top: 4px; color: #808b9d; font-size: 13px; }
.expand-mark { margin-left: auto; color: #94baff; font-size: 24px; font-weight: 400; transition: transform .3s; }
.guide[open] .expand-mark { transform: rotate(45deg); }
.guide-body { max-width: 840px; padding: 0 0 25px 42px; color: var(--muted); font-size: 14px; }
.guide-body ol { margin: 0; padding-left: 20px; }
.guide-body li { padding-left: 6px; margin-bottom: 12px; line-height: 1.9; }
.guide-body li::marker { color: #7497bd; }
.guide-body > p { margin: 17px 0 0; color: #727f93; font-size: 13px; }
.inline-link { display: inline-block; margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid #3b536f; color: #aac9ef; font-size: 14px; }
.inline-link span { margin-left: 10px; }
.development-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.development-grid .site-section { min-width: 0; }
.development-grid .site-section h2 { font-size: 32px; letter-spacing: -1px; }
.update-list, .roadmap-list, .contribution-steps { margin: 0; padding: 0; list-style: none; }
.update-list li { position: relative; border-left: 1px solid #35435a; padding: 0 0 32px 26px; }
.update-list li::before { content: ''; position: absolute; top: 8px; left: -4px; width: 7px; height: 7px; background: #94baff; border-radius: 50%; box-shadow: 0 0 0 5px var(--bg); }
.update-list li:last-child { padding-bottom: 0; }
.update-list time { color: #6f8fae; font: 10px/1.6 'JetBrains Mono', Consolas, monospace; letter-spacing: 1px; }
.update-list h3, .roadmap-list h3 { margin: 11px 0 8px; font-size: 18px; font-weight: 500; }
.update-list p, .roadmap-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.roadmap-list li { padding: 19px 0; border-top: 1px solid var(--line); }
.roadmap-list li:first-child { padding-top: 0; border-top: 0; }
.roadmap-status { display: inline-block; padding: 2px 8px; border: 1px solid #31483f; border-radius: 4px; color: #90c4aa; font-size: 10px; }
.contribution-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 36px 0 12px; }
.contribution-steps li { padding-top: 20px; border-top: 1px solid #394a60; }
.contribution-steps li > span { color: #7497bd; font: 12px/1.6 'JetBrains Mono', Consolas, monospace; }
.contribution-steps h3 { margin: 15px 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -.4px; }
.contribution-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 85px; }
.contact-copy > p:not(.eyebrow) { max-width: 430px; margin: 21px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.faq { margin-top: 35px; }
.faq > h3 { font-size: 14px; font-weight: 500; margin: 0 0 14px; color: #b1bdcf; }
.faq details { border-top: 1px solid var(--line); padding: 13px 0; }
.faq summary { cursor: pointer; color: #99a8be; font-size: 13px; }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.contact-form { position: relative; padding-top: 3px; }
.contact-form > label { margin-top: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form .form-honeypot { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; }
.form-submit > span { max-width: 225px; color: #6d7a8e; font-size: 11px; line-height: 1.7; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 18px; border: 1px solid #516c91; border-radius: 5px; background: #1a2c45; color: #d2e4ff; font-size: 13px; cursor: pointer; transition: background .2s, border-color .2s; }
.primary-button:hover { background: #233c5d; border-color: #83a9db; }
.primary-button:disabled { cursor: wait; opacity: .6; }
.form-status { min-height: 24px; margin: 16px 0 0; color: #91bba5; font-size: 13px; line-height: 1.7; }
.form-status.error { color: #e5a8a8; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a:hover { color: var(--accent); }
.footer-contact { flex-basis: 100%; order: 4; display: flex; align-items: center; gap: 16px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-contact > span { color: #74859c; }
.footer-contact a { color: #adcaf0; font-size: 13px; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #d5e6ff; }
.detail-main { padding: 35px 0 75px; }
.back-link { display: inline-block; color: #8ca3be; font-size: 13px; margin-bottom: 36px; }
.detail-hero { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.detail-hero .eyebrow { margin-bottom: 15px; }
.detail-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); font-weight: 500; line-height: 1.15; letter-spacing: -2px; overflow-wrap: anywhere; }
.detail-summary { max-width: 740px; margin: 20px 0; color: #9ba7b8; font-size: 17px; line-height: 1.8; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.detail-actions a { border-bottom: 1px solid #4f6788; padding-bottom: 5px; color: #aecbed; font-size: 14px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 65px; padding-top: 35px; }
.detail-content > section { margin-bottom: 38px; }
.detail-content h2 { font-size: 24px; font-weight: 500; letter-spacing: -.7px; margin: 0 0 18px; }
.detail-content p, .detail-content li { color: #99a5b6; font-size: 15px; line-height: 1.9; }
.detail-content p { white-space: pre-line; }
.detail-content ol { padding-left: 22px; }
.detail-content li { padding-left: 7px; margin-bottom: 24px; }
.detail-content li h3 { color: #d0d9e7; font-size: 17px; font-weight: 500; margin: 0 0 6px; }
.detail-content li p { margin: 0 0 12px; }
.detail-content pre { position: relative; margin: 12px 0 0; padding: 18px; border: 1px solid #28374a; border-radius: 6px; background: #0d141e; white-space: pre-wrap; overflow-wrap: anywhere; color: #91b8e6; font: 12px/1.9 'JetBrains Mono', Consolas, monospace; }
.detail-sidebar { align-self: start; padding-left: 24px; border-left: 1px solid var(--line); }
.detail-sidebar h2 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: #c3d0e1; }
.detail-sidebar p { color: var(--muted); font-size: 13px; }
.detail-sidebar section + section { margin-top: 27px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detail-gallery figure { margin: 0; }
.detail-gallery img { display: block; max-width: 100%; width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.detail-gallery figcaption { margin-top: 8px; color: #7b899d; font-size: 12px; }
.not-found { padding: 80px 0; max-width: 660px; }
.not-found h1 { margin: 0 0 18px; font-size: 38px; line-height: 1.2; font-weight: 500; }
.not-found p { color: var(--muted); }
@media (max-width: 1000px) {
  .header nav { gap: 18px; }
  .development-grid { gap: 40px; }
  .contact-section { gap: 45px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 35px; }
}
@media (max-width: 700px) {
  .header nav > a:not(.github-link):not(.contact-link):not(.purpose-link) { display: none; }
  .header nav { width: 100%; justify-content: space-between; gap: 12px; }
  .contact-link { font-size: 12px; }
  .catalog-filters { flex-wrap: wrap; gap: 12px; }
  .search-field { flex-basis: 100%; }
  .technology-field { flex: 1; }
  .site-section { padding: 43px 0; }
  .site-section.wrap { margin-top: 28px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 20px; font-size: 14px; }
  .site-section h2 { font-size: 35px; letter-spacing: -1.3px; }
  .guide summary { gap: 15px; padding: 20px 0; }
  .guide summary strong { font-size: 16px; }
  .guide summary small { font-size: 12px; }
  .guide-body { padding-left: 28px; }
  .development-grid, .contact-section, .detail-layout { grid-template-columns: 1fr; gap: 0; }
  .development-grid .site-section h2 { font-size: 30px; }
  .contribution-steps { grid-template-columns: 1fr; gap: 24px; }
  .contribution-steps h3 { margin-top: 9px; }
  .contact-form { margin-top: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .form-submit { align-items: start; flex-direction: column-reverse; gap: 14px; }
  .form-submit > span { max-width: none; }
  .primary-button { width: 100%; }
  footer nav { width: 100%; gap: 10px 18px; order: 3; }
  .detail-main { padding-top: 25px; }
  .detail-summary { font-size: 15px; }
  .detail-sidebar { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .detail-gallery { grid-template-columns: 1fr; }
}
