:root {
  color-scheme: dark;
  --canvas: #101518;
  --surface: #182125;
  --surface-hover: #202d31;
  --line: #314147;
  --text: #edf4f0;
  --muted: #a9b9b8;
  --accent: #f1ad62;
  --accent-soft: #553d28;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, #2d4a4c 0, transparent 28rem),
    radial-gradient(circle at 8% 90%, #352719 0, transparent 26rem),
    var(--canvas);
}

.shell { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(3rem, 9vw, 7rem) 0 2.5rem; }
.hero { max-width: 47rem; padding-bottom: clamp(3rem, 8vw, 6rem); }
.eyebrow { margin: 0 0 .7rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1rem; font-size: clamp(2.8rem, 8vw, 5.9rem); letter-spacing: -.065em; line-height: .94; }
h2 { margin-bottom: 0; font-size: clamp(1.6rem, 4vw, 2.25rem); letter-spacing: -.04em; }
.intro { max-width: 38rem; margin-bottom: 0; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.25rem); line-height: 1.65; }
.directory { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.35rem; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 1.2rem 4rem #0004; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.service-count, .status { color: var(--muted); }
.service-count { margin: 0; text-align: right; }
.service-groups { display: grid; gap: 2.5rem; }
.group-title { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; color: var(--muted); font-size: .85rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.group-title .glyph { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .85rem; }
.card { display: flex; flex-direction: column; min-height: 13rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; color: inherit; background: #131b1eee; text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--accent); background: var(--surface-hover); transform: translateY(-2px); }
.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.card h3 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.arrow { color: var(--accent); font-size: 1.25rem; line-height: 1; }
.card p { margin: .75rem 0 auto; color: var(--muted); line-height: 1.5; }
.access { display: inline-flex; width: fit-content; margin-top: 1.2rem; padding: .32rem .55rem; border: 1px solid var(--line); border-radius: 99rem; color: #d6e2df; font-size: .73rem; font-weight: 650; letter-spacing: .03em; }
footer { display: flex; gap: .7rem; flex-wrap: wrap; padding: 2.2rem .35rem 0; color: var(--muted); font-size: .88rem; }
.dot { color: var(--accent); }

@media (max-width: 540px) {
  .shell { width: min(100% - 1.3rem, 1120px); }
  .directory { padding: 1.15rem; border-radius: 1rem; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 1.6rem; }
  .service-count { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
