/* ==========================================================================
   JRWS LLC — dark theme
   Palette: navy background + coral accent + teal secondary
   Fonts: Space Grotesk (headings) / Inter (body)
   A plain link-directory layout (modeled on go.com): a title, then
   categorized lists of links with a one-line description each.
   ========================================================================== */

:root {
  --color-bg: #0f1123;
  --color-bg-alt: #161933;
  --color-card: #1c2044;
  --color-ink: #f5f4f0;
  --color-ink-soft: #a6abcf;
  --color-accent: #ff6b4a;
  --color-accent-dark: #ff8a68;
  --color-teal: #2ec4b6;
  --color-line: rgba(255, 255, 255, 0.14);
  --color-white: #ffffff;

  --font-heading: 'Space Grotesk', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-teal);
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Visible focus states for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------
   Top bar — small logo mark, no nav (there's only one page)
   -------------------------------------------------------------------- */

.top-bar {
  padding: 28px 0 4px;
}

.top-bar a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.top-bar img {
  width: 36px;
  height: 36px;
  border-radius: 20%;
}

.top-bar span {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prose {
  max-width: 620px;
}

.prose p {
  color: var(--color-ink-soft);
}

/* --------------------------------------------------------------------
   Directory
   -------------------------------------------------------------------- */

.directory {
  padding: 32px 0 80px;
}

.directory-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
}

.directory-intro {
  color: var(--color-ink-soft);
  max-width: 56ch;
  margin-bottom: 48px;
}

.directory-section {
  margin-bottom: 44px;
}

.directory-section-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--color-accent-dark);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.directory-item {
  margin-bottom: 20px;
}

.directory-item:last-child {
  margin-bottom: 0;
}

.directory-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.directory-item-title a {
  color: var(--color-teal);
  text-decoration: none;
}

.directory-item-title a:hover {
  text-decoration: underline;
}

.directory-item-desc {
  color: var(--color-ink-soft);
  margin-bottom: 0;
}

.store-links {
  margin-top: 4px;
  font-size: 0.9rem;
}

.store-links a {
  color: var(--color-teal);
  text-decoration: none;
}

.store-links a:hover {
  text-decoration: underline;
}

.store-links .sep {
  color: var(--color-ink-soft);
  margin: 0 6px;
}

/* --------------------------------------------------------------------
   Contact — plain email addresses, no form
   -------------------------------------------------------------------- */

.contact-section {
  padding-top: 8px;
  border-top: 1px solid var(--color-line);
}

.contact-emails {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.contact-emails li {
  margin-bottom: 12px;
}

.contact-emails a {
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
}

.contact-emails a:hover {
  text-decoration: underline;
}

.contact-emails .label {
  display: block;
  color: var(--color-ink-soft);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */

.site-footer {
  background: #090a17;
  color: var(--color-ink);
  padding: 32px 0;
  border-top: 1px solid var(--color-line);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
