:root,
[data-theme="light"] {
  --font-display: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --text-xs: clamp(.75rem, .72rem + .12vw, .8125rem);
  --text-sm: clamp(.875rem, .84rem + .16vw, .9375rem);
  --text-base: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.02rem + .46vw, 1.375rem);
  --text-xl: clamp(1.55rem, 1.28rem + 1.15vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 1.6rem + 2.7vw, 4rem);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --color-bg: #f7f7f7; --color-surface: #ffffff; --color-surface-2: #f1f3f3;
  --color-surface-offset: #e8ebeb; --color-text: #252a2d; --color-text-muted: #626a6e;
  --color-text-faint: #81898d; --color-inverse: #ffffff; --color-header: #343b40;
  --color-primary: #189b72; --color-primary-brand: #2dc997; --color-primary-hover: #137b5b;
  --color-primary-soft: #dcf6ed; --color-border: rgba(37, 42, 45, .13);
  --radius-sm: .375rem; --radius-md: .625rem; --radius-lg: .875rem;
  --radius-xl: 1.25rem; --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(31, 37, 40, .06), 0 5px 16px rgba(31, 37, 40, .04);
  --shadow-md: 0 3px 8px rgba(31, 37, 40, .08), 0 18px 42px rgba(31, 37, 40, .08);
  --content-wide: 1200px; --transition: 180ms cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] {
  --color-bg: #181c1e; --color-surface: #202629; --color-surface-2: #252c2f;
  --color-surface-offset: #2c3437; --color-text: #edf2f0; --color-text-muted: #b3bdb9;
  --color-text-faint: #929d99; --color-inverse: #14221e; --color-header: #111516;
  --color-primary: #45d9ab; --color-primary-brand: #45d9ab;
  --color-primary-hover: #77e6c3; --color-primary-soft: #203b33;
  --color-border: rgba(237, 242, 240, .13);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .28), 0 5px 16px rgba(0, 0, 0, .18);
  --shadow-md: 0 3px 8px rgba(0, 0, 0, .32), 0 18px 42px rgba(0, 0, 0, .28);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: none; text-size-adjust: none; }
body { min-height: 100dvh; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--color-primary-brand); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--color-primary-soft); color: var(--color-text); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: var(--space-4); top: var(--space-4); transform: translateY(-160%); background: var(--color-primary); color: var(--color-inverse); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 100; top: 0; color: #fff; background: rgba(52, 59, 64, .97); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.header-inner { width: min(100% - 2rem, var(--content-wide)); height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.brand { align-self: stretch; width: 120px; display: flex; align-items: center; }
.brand img { width: 92px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: var(--space-8); margin-left: auto; }
.desktop-nav a { min-height: 44px; display: grid; place-items: center; position: relative; font-family: var(--font-display); font-size: var(--text-xs); font-weight: 500; letter-spacing: .055em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--color-primary-brand); transform: scaleX(0); transform-origin: center; transition: transform var(--transition); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; gap: var(--space-2); }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-full); color: #fff; background: rgba(255,255,255,.08); }
.icon-button:hover { background: rgba(255,255,255,.16); }
.icon-button:active { transform: scale(.96); }
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
.menu-toggle { display: none; }
.mobile-nav { border-top: 1px solid rgba(255,255,255,.1); padding: var(--space-2) var(--space-4) var(--space-4); }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding-inline: var(--space-3); border-radius: var(--radius-md); font-family: var(--font-display); font-size: var(--text-sm); }
.mobile-nav a:hover { background: rgba(255,255,255,.08); }
.hero { overflow: hidden; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.hero-inner { width: min(100% - 2rem, var(--content-wide)); min-height: clamp(470px, 64vh, 650px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: center; gap: var(--space-16); padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.eyebrow { margin-bottom: var(--space-4); color: var(--color-primary); font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin-bottom: var(--space-6); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -.035em; }
.hero h1 span { color: var(--color-primary); }
.hero-text { max-width: 610px; color: var(--color-text-muted); font-size: var(--text-lg); }
.primary-action { min-height: 48px; width: fit-content; margin-top: var(--space-8); display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-6); border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-inverse); font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; }
.primary-action:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.primary-action:active { transform: translateY(0); }
.primary-action svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-mark { justify-self: end; width: min(100%, 340px); aspect-ratio: 1; display: grid; place-items: center; position: relative; color: var(--color-primary); }
.hero-mark::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: var(--color-primary-soft); }
.hero-mark svg { position: relative; width: 100%; }
.hero-mark circle { stroke: currentColor; stroke-width: 1; opacity: .45; }
.hero-mark circle:nth-child(2) { stroke-dasharray: 7 8; }
.hero-mark path { stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hero-mark span { position: absolute; bottom: 3%; right: 0; padding: var(--space-3) var(--space-4); background: var(--color-header); color: #fff; box-shadow: var(--shadow-md); font-family: var(--font-display); font-size: var(--text-xs); line-height: 1.45; letter-spacing: .03em; }
.catalogue { width: min(100% - 2rem, var(--content-wide)); margin-inline: auto; padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-8); margin-bottom: var(--space-10); }
.section-heading h2 { font-size: var(--text-xl); }
.section-heading > p { max-width: 470px; color: var(--color-text-muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-8); }
.search-field { width: min(100%, 390px); min-height: 48px; display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.search-field:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.search-field svg { flex: 0 0 auto; width: 20px; fill: none; stroke: var(--color-text-muted); stroke-width: 1.8; stroke-linecap: round; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; }
.search-field input::placeholder { color: var(--color-text-faint); }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); }
.filter { min-height: 44px; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 700; }
.filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter.is-active { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-inverse); }
.software-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.software-card { min-height: 282px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: var(--space-5); padding: var(--space-6); position: relative; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); content-visibility: auto; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.software-card::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--color-primary-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.software-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--color-primary) 45%, transparent); box-shadow: var(--shadow-md); }
.software-card:hover::before { transform: scaleX(1); }
.software-card:active { transform: translateY(-1px); }
.software-icon { width: 76px; height: 76px; display: grid; place-items: center; }
.software-icon img { width: 64px; height: 64px; object-fit: contain; }
.download-icon { align-self: start; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--color-primary-soft); color: var(--color-primary); }
.download-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.software-card:hover .download-icon { background: var(--color-primary); color: var(--color-inverse); }
.software-info { grid-column: 1 / -1; align-self: end; }
.software-info h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); }
.software-info p { min-height: 3.3em; margin-bottom: var(--space-4); color: var(--color-text-muted); font-size: var(--text-sm); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: var(--color-surface-2); color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 700; }
.empty-state { padding: var(--space-16) var(--space-8); text-align: center; background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: var(--radius-lg); }
.empty-state svg { width: 42px; margin: 0 auto var(--space-4); fill: none; stroke: var(--color-text-faint); stroke-width: 1.5; }
.empty-state h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); }
.empty-state p { margin-bottom: var(--space-5); color: var(--color-text-muted); }
.empty-state button { min-height: 44px; padding: var(--space-2) var(--space-5); border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-inverse); font-size: var(--text-sm); font-weight: 700; }
.help-strip { margin-top: clamp(var(--space-16), 8vw, var(--space-24)); display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); padding: clamp(var(--space-8), 5vw, var(--space-12)); background: var(--color-header); color: #fff; border-radius: var(--radius-xl); }
.help-strip h2 { margin-bottom: var(--space-3); font-size: var(--text-xl); }
.help-strip > div > p:last-child { max-width: 680px; color: #d5dcda; }
.help-strip a { flex: 0 0 auto; min-height: 52px; display: flex; flex-direction: column; justify-content: center; padding: var(--space-2) var(--space-6); border: 2px solid var(--color-primary-brand); border-radius: var(--radius-full); font-family: var(--font-display); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.help-strip a span { font-size: var(--text-sm); font-weight: 700; }
.help-strip a:hover { background: var(--color-primary-brand); color: #17241f; }
.site-footer { background: var(--color-header); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: min(100% - 2rem, var(--content-wide)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-6); padding-block: var(--space-8); }
.footer-inner > img { width: 72px; height: auto; }
.footer-inner > p { color: #d5dcda; font-size: var(--text-sm); }
.footer-links { display: flex; gap: var(--space-5); font-size: var(--text-sm); }
.footer-links a:hover { color: var(--color-primary-brand); }
.footer-inner .copyright { grid-column: 1 / -1; width: 100%; padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: #aeb7b4; font-size: var(--text-xs); }
a, button, input, .download-icon { transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
@media (max-width: 960px) {
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .filters { justify-content: flex-start; }
  .hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr); gap: var(--space-8); }
  .help-strip { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .header-inner { height: 68px; }
  .brand { width: auto; }
  .brand img { width: 78px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: var(--space-10); padding-block: var(--space-16); }
  .hero-mark { width: min(76vw, 280px); justify-self: center; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: var(--space-3); }
  .software-grid { grid-template-columns: 1fr; }
  .software-card { min-height: 250px; }
  .help-strip { border-radius: var(--radius-lg); }
  .help-strip a { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { grid-column: auto; flex-direction: column; gap: var(--space-2); }
  .footer-inner .copyright { grid-column: auto; }
}
@media (max-width: 420px) {
  .header-inner, .hero-inner, .catalogue, .footer-inner { width: min(100% - 1.5rem, var(--content-wide)); }
  .header-actions { gap: var(--space-1); }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter { padding-inline: var(--space-2); }
  .software-card { padding: var(--space-5); }
  .hero h1 br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
