html { scroll-behavior: smooth; scroll-padding-top: 24px; }
[hidden] { display: none !important; }
.dobriy-ui.du-site { --du-site-max: 1240px; font-size: 17px; }
.du-site .du-site-header > .du-wrap { min-height: 88px; }
.du-site .du-site-nav { font-size: 14px; gap: 32px; }
.du-site .du-site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.du-site .du-site-nav .nav-contact { border: 1px solid #ffffff80; border-radius: var(--du-radius-pill); padding: 8px 20px; }
.menu-toggle { align-items: center; gap: 8px; background: none; color: inherit; font: inherit; font-size: 14px; border: 1px solid #ffffff80; border-radius: 24px; padding: 8px 12px; min-height: 44px; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.du-site .du-hero { padding-block: 64px 0; }
.du-site .du-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.du-site .du-hero h1 { font-size: clamp(44px, 5.1vw, 72px); line-height: 1.13; font-weight: 400; }
.du-site .du-hero p { max-width: 43ch; margin-block: 26px 32px; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--du-on-brand) !important; font-size: 15px; text-decoration: underline; text-underline-offset: 6px; }
.hero-footnote { display: flex; flex-wrap: wrap; gap: 20px 40px; padding-block: 24px; margin-top: 54px !important; border-top: 1px solid #ffffff40; font-size: 14px; color: var(--du-brand-muted); }
.funding-illustration { position: relative; aspect-ratio: 520 / 480; width: 100%; max-width: 520px; justify-self: end; }
.funding-orbit { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #ffffff30; stroke-width: 1; }
.funding-orbit circle { stroke: none; fill: var(--du-brand-sky); }
.paper { position: absolute; width: 62%; height: 73%; left: 17%; top: 10%; border-radius: 14px; }
.paper-back { background: var(--du-brand-sky); transform: rotate(-12deg) translate(-2%, 1%); }
.paper-main { background: var(--du-surface); color: var(--du-ink); transform: rotate(4deg); box-shadow: 0 16px 36px #03143a26; padding: 7%; }
.paper-heading { display: flex; align-items: center; gap: 12px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; white-space: nowrap; }
.paper-heading svg { width: 28px; height: 28px; fill: none; stroke: var(--du-brand-blue); stroke-width: 1.5; flex: none; }
.paper-rule { height: 1px; background: var(--du-border); margin-block: 18px; }
.paper-field { margin-bottom: 20px; font-size: clamp(12px, 1.1vw, 15px); }
.paper-field > span { display: block; margin-bottom: 10px; }
.paper-line { height: 6px; width: 93%; background: var(--du-border); border-radius: 10px; margin-top: 8px; }
.paper-line.short { width: 56%; }
.paper-line.medium { width: 74%; }
.paper-choice { display: flex; align-items: center; gap: 8px; font-size: clamp(11px, 1vw, 14px); color: var(--du-primary); margin-top: 26px; white-space: nowrap; }
.paper-choice svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.floating-note { position: absolute; right: 1%; bottom: 12%; transform: rotate(-7deg); width: 61%; padding: 20px 24px; display: flex; align-items: center; gap: 18px; border-radius: 10px; color: var(--du-highlight-ink); background: var(--du-brand-lime); box-shadow: 0 12px 24px #03143a20; font-size: clamp(15px, 1.45vw, 20px); line-height: 1.55; }
.floating-note strong { font-weight: 500; }
.floating-note svg { width: 30px; height: 34px; stroke: currentColor; stroke-width: 1.4; fill: none; flex: none; }
.spark { position: absolute; right: 3%; top: 8%; width: 16%; transform: rotate(12deg); }
.spark svg { width: 100%; stroke: var(--du-brand-lime); stroke-width: 1.7; }
.section-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 80px; }
.du-site .section-intro .du-section-lead { margin: 0; max-width: 46ch; }
.source-controls { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 32px; padding: 28px 0; margin-top: 38px; border-top: 1px solid var(--du-border); }
.search-field > label, .source-filters legend { display: block; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 500; }
.source-filters { min-width: 0; padding: 0; margin: 0; border: 0; }
.search-input-wrap { position: relative; }
.search-input-wrap svg { width: 21px; height: 21px; position: absolute; left: 16px; top: 16px; fill: none; stroke: var(--du-muted); stroke-width: 1.7; pointer-events: none; }
.search-input-wrap input { width: 100%; min-height: 52px; border: 1px solid var(--du-input-border); border-radius: var(--du-radius-control); padding: 12px 12px 12px 47px; color: var(--du-ink); background: var(--du-surface); font: inherit; font-size: 16px; }
.search-input-wrap input::placeholder { color: var(--du-muted); opacity: 1; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-options label { position: relative; cursor: pointer; }
.filter-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-options span { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 16px; border-radius: var(--du-radius-pill); border: 1px solid var(--du-input-border); font-size: 14px; }
.filter-options input:checked + span { background: var(--du-brand-blue); border-color: var(--du-brand-blue); color: var(--du-on-brand); }
.filter-options input:focus-visible + span { outline: var(--du-focus-width) solid var(--du-focus); outline-offset: 3px; }
.source-count { color: var(--du-muted); font-size: 14px; padding-bottom: 18px; margin-top: 24px; }
.source-controls:not([hidden]) + .source-count { margin-top: 0; }
.source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.source-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px 0; border-top: 1px solid var(--du-border); }
.source-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--du-muted); }
.source-meta > span:last-child { padding: 3px 12px; border-radius: var(--du-radius-pill); background: var(--du-surface-soft); white-space: nowrap; }
.source-card h3 { margin-top: 14px; margin-bottom: 10px; font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.source-card h3 a { color: var(--du-ink); text-decoration: none; }
.source-card h3 a::after { content: ''; position: absolute; inset: 0; }
.source-card:has(a:hover) h3 { color: var(--du-primary); }
.source-card:has(a:focus-visible) { outline: 3px solid var(--du-focus); outline-offset: 6px; border-radius: 4px; }
.source-card h3 a:focus-visible { outline: none; }
.source-card > p { font-size: 16px; line-height: 1.75; color: var(--du-muted); margin-bottom: 26px; max-width: 49ch; }
.source-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--du-primary); }
.source-bottom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.source-notes { border-top: 1px solid var(--du-border); padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; color: var(--du-muted); font-size: 14px; }
.source-notes > p:first-child { max-width: 66ch; }
.source-notes > p:last-child { max-width: 24ch; text-align: right; flex-shrink: 0; }
.empty-state { padding-block: 42px 56px; border-top: 1px solid var(--du-border); }
.empty-state h3 { font-size: 26px; font-weight: 400; }
.empty-state p { margin-block: 12px 20px; color: var(--du-muted); }
.du-site .du-feature .du-icon { color: var(--du-primary); }
.du-site .du-feature h3 { font-size: 21px; }
.development-note { font-size: 14px; color: var(--du-muted); border-top: 1px solid var(--du-border); margin-top: 36px; padding-top: 22px; }
.questions-layout { display: grid; grid-template-columns: 0.85fr 1.2fr; gap: 96px; }
.du-site .du-faq { margin: 0; }
.du-site .du-faq details:first-child { padding-top: 0; }
.du-site .du-faq summary { min-height: 44px; padding: 8px 24px 8px 0; }
.du-site .du-faq p { font-size: 16px; margin-block: 12px 8px; }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 96px; }
.contact-highlight { color: var(--du-brand-lime); }
.du-site .contact-layout .du-section-lead { max-width: 48ch; margin-bottom: 28px; }
.contact-note { color: var(--du-on-dark-muted); font-size: 14px; margin-top: 18px; }
.contact-art svg { width: 100%; max-width: 360px; height: auto; fill: none; stroke-width: 1.6; }
.contact-art .stem { stroke: var(--du-brand-lime); }
.contact-art circle { fill: var(--du-brand-lime); }
.contact-art .rays { stroke: var(--du-brand-lime); }
.contact-art .ground { stroke: var(--du-on-dark-muted); }
.du-site .du-site-footer { padding-block: 40px 26px; border-top: 1px solid #ffffff26; }
.footer-top { padding-bottom: 32px; }
.footer-top > p { color: var(--du-on-dark-muted); font-size: 14px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid #ffffff26; font-size: 14px; color: var(--du-on-dark-muted); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.footer-bottom a:hover { color: var(--du-on-brand); text-decoration: underline; text-underline-offset: 4px; }
.du-site-footer :focus-visible { outline-color: var(--du-brand-lime); }
@media (max-width: 1100px) {
  .source-controls { grid-template-columns: 1fr; gap: 24px; }
  .search-field { max-width: 540px; }
  .section-intro { gap: 40px; }
  .questions-layout { gap: 48px; }
  .paper-main { padding: 6%; }
  .paper-field { margin-bottom: 14px; }
  .paper-rule { margin-block: 12px; }
  .paper-choice { margin-top: 16px; }
}
@media (max-width: 850px) {
  .du-site .du-site-header > .du-wrap { flex-wrap: wrap; gap: 12px; }
  .du-site .du-site-nav { gap: 20px; }
  .du-site .du-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .du-site .du-hero { padding-top: 48px; }
  .du-site .du-hero h1 { max-width: 12ch; font-size: clamp(44px, 8vw, 68px); }
  .hero-copy { max-width: 680px; }
  .funding-illustration { max-width: 420px; justify-self: center; }
  .paper-heading { font-size: 18px; }
  .paper-field { font-size: 14px; margin-bottom: 20px; }
  .paper-choice { font-size: 13px; }
  .floating-note { font-size: 18px; }
  .hero-footnote { margin-top: 24px !important; gap: 10px 28px; }
  .section-intro, .questions-layout { grid-template-columns: 1fr; gap: 24px; }
  .du-site .section-intro .du-section-lead { max-width: 62ch; }
  .source-grid { gap: 0 28px; }
  .source-card h3 { font-size: 21px; }
  .source-meta { align-items: start; }
  .contact-layout { grid-template-columns: 1.6fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .dobriy-ui.du-site { --du-site-gutter: 20px; }
  .du-site .du-brand { font-size: 19px; gap: 10px; }
  .du-site .du-site-header > .du-wrap { min-height: 78px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .du-site .du-site-nav { width: 100%; gap: 8px 20px; }
  .js .du-site .du-site-nav { display: none; }
  .js .du-site .du-site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding-block: 8px 14px; }
  .du-site .du-site-nav .nav-contact { border: 0; padding: 0; }
  .du-site .du-hero { padding-top: 38px; }
  .du-site .du-hero h1 { font-size: clamp(39px, 9vw, 54px); letter-spacing: -.04em; }
  .du-site .du-hero p { font-size: 17px; margin-block: 22px 26px; }
  .hero-actions { gap: 14px 24px; }
  .hero-actions .du-button { padding-inline: 22px; }
  .hero-footnote { display: block; font-size: 14px; padding-block: 20px; }
  .hero-footnote span { display: block; padding-block: 3px; }
  .funding-illustration { margin-top: 4px; }
  .source-controls { margin-top: 28px; }
  .filter-options span { min-height: 44px; padding: 9px 13px; }
  .source-grid { grid-template-columns: 1fr; }
  .source-card { padding-block: 26px; }
  .source-card h3 { font-size: 22px; }
  .source-notes { flex-direction: column; gap: 12px; }
  .source-notes > p:last-child { text-align: left; max-width: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-art { max-width: 210px; justify-self: center; }
  .du-site .du-faq summary { font-size: 17px; }
  .footer-top { gap: 12px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start !important; gap: 12px !important; }
  .footer-bottom nav { gap: 4px 20px; }
}
@media (max-width: 360px) {
  .du-site .du-brand { font-size: 17px; gap: 8px; }
  .menu-toggle { padding: 8px 10px; gap: 5px; }
  .menu-toggle svg { width: 16px; }
  .paper-heading { font-size: 13px; gap: 8px; }
  .paper-heading svg { width: 23px; }
  .paper-field { font-size: 11px; margin-bottom: 12px; }
  .paper-field > span { margin-bottom: 6px; }
  .paper-rule { margin-block: 10px; }
  .paper-line { height: 4px; margin-top: 6px; }
  .paper-choice { font-size: 10px; margin-top: 12px; gap: 4px; }
  .paper-choice svg { width: 16px; }
  .floating-note { font-size: 14px; padding: 14px 16px; gap: 12px; }
  .floating-note svg { width: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) {
  .filter-options input:checked + span { border: 3px solid Highlight; }
  .paper, .floating-note { border: 1px solid CanvasText; }
}
