@import url("data:text/css,");

:root {
  --bg: #08100e;
  --surface: #0d1714;
  --surface-hover: #111e1a;
  --line: rgba(217, 238, 225, 0.13);
  --text: #f1f7f3;
  --muted: #9aa9a1;
  --green: #7df2ad;
  --green-dark: #173e2a;
  --amber: #f7c66e;
  --blue: #76bdf5;
  --shell: min(1160px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--bg); }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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: 20; top: 12px; left: 12px; padding: 10px 14px; color: #08100e; background: var(--green); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none; opacity: .55; }
.ambient-one { width: 600px; height: 600px; top: -330px; right: -160px; background: radial-gradient(circle, rgba(42, 160, 104, .24), transparent 68%); }
.ambient-two { width: 500px; height: 500px; top: 420px; left: -360px; background: radial-gradient(circle, rgba(70, 137, 116, .14), transparent 70%); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; color: #07110d; background: var(--green); border-radius: 9px 9px 9px 3px; font-size: .8rem; letter-spacing: 0; }
.header-title { margin: 0; font-size: .82rem; font-weight: 650; letter-spacing: -.01em; }
.directory { padding-block: 95px 120px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.service-count { margin: 0 0 5px; color: var(--muted); font-size: .8rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.search { display: flex; align-items: center; width: min(360px, 100%); height: 46px; padding-inline: 14px; color: var(--muted); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 11px; transition: border-color .2s ease, box-shadow .2s ease; }
.search:focus-within { border-color: rgba(125, 242, 173, .55); box-shadow: 0 0 0 3px rgba(125, 242, 173, .08); }
.search svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search input { min-width: 0; flex: 1; padding: 0 10px; color: var(--text); background: transparent; border: 0; outline: 0; }
.search input::placeholder { color: #6f7d75; }
kbd { padding: 2px 7px; color: #7f8e86; border: 1px solid var(--line); border-radius: 5px; font-family: inherit; font-size: .7rem; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.filter-button { padding: 8px 12px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: .76rem; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-button:hover { color: var(--text); }
.filter-button[aria-pressed="true"] { color: var(--text); background: var(--surface); border-color: var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 225px; padding: 20px; color: inherit; text-decoration: none; overflow: hidden; background: rgba(13, 23, 20, .72); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); animation: card-in .55s both; animation-delay: var(--delay); transition: background .25s ease; }
.service-card::after { position: absolute; content: ""; width: 150px; height: 150px; right: -75px; bottom: -90px; border-radius: 50%; background: var(--accent); filter: blur(65px); opacity: 0; transition: opacity .3s ease; }
.service-card:hover { background: var(--surface-hover); }
.service-card:hover::after { opacity: .12; }
.accent-mint { --accent: var(--green); }
.accent-amber { --accent: var(--amber); }
.accent-blue { --accent: var(--blue); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 12px; }
.service-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.category { color: #809088; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.card-meta { display: inline-flex; align-items: center; gap: 12px; }
.card-arrow { display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; font-size: 1rem; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.service-card[href] { cursor: pointer; }
.service-card[href]:hover .card-arrow { transform: translate(3px, -3px); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.service-card.is-disabled { color: var(--muted); cursor: not-allowed; }
.service-card.is-disabled .card-arrow { color: #627068; }

.service-card h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.025em; }
.service-card > p { margin: 10px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.empty-state, .noscript { padding: 52px 24px; color: var(--muted); text-align: center; border: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) { .service-grid { grid-template-columns: 1fr 1fr; } .toolbar { align-items: stretch; flex-direction: column; } .filters { justify-content: flex-start; } }
@media (max-width: 580px) { :root { --shell: min(100% - 28px, 1160px); } .site-header { min-height: 58px; } .directory { padding-block: 72px 90px; } .section-heading { align-items: flex-start; flex-direction: column; } .service-grid { grid-template-columns: 1fr; } .service-card { min-height: 210px; } kbd { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Compact dashboard layout */
.directory-first {
  min-height: calc(100vh - 64px);
  padding-block: 24px 72px;
  border-top: 0;
}
.compact-heading {
  align-items: flex-end;
  margin-bottom: 34px;
}

.directory-summary {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}
@media (max-width: 580px) {
  .directory-first { padding-block: 20px 56px; }
}
