:root {
  color-scheme: light;
  --paper: #f7f7f5;
  --white: #ffffff;
  --charcoal: #202123;
  --muted: #6b6b66;
  --border: #e3e3de;
  --spruce: #0f6b56;
  --soft-spruce: #e6efe7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.55;
}

a {
  color: var(--spruce);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--spruce);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 2rem, 1080px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.site-header .shell {
  display: flex;
  min-height: 64px;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.65rem;
  color: var(--charcoal);
  font-size: 1.03rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.intro {
  padding-block: clamp(2.25rem, 5.5vw, 4.5rem) clamp(2rem, 4vw, 3.25rem);
}

.tagline,
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--spruce);
  font-size: 0.79rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.intro-copy {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.16rem);
}

.directory {
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-card {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
}

.app-card__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.app-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #ccdbd2;
  border-radius: 8px;
  color: var(--spruce);
  background: var(--soft-spruce);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.app-card h3 {
  margin: 0;
  font-size: 1.17rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.app-meta {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.app-description {
  margin: 1.2rem 0 1.35rem;
  color: var(--muted);
}

.app-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  font-weight: 700;
}

.about {
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  border-top: 1px solid var(--border);
}

.about p {
  max-width: 760px;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.site-footer .shell {
  display: flex;
  min-height: 76px;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer strong {
  color: var(--charcoal);
}

@media (min-width: 640px) {
  .shell {
    width: min(100% - 3rem, 1080px);
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
