/* WanderWay Software LLC — company site */
:root {
  --bg: #f3eee4;
  --bg-band: #eae3d6;
  --paper: #fbf8f2;
  --ink: #18211c;
  --muted: #5a635c;
  --line: #d4cbba;
  --forest: #1f4d34;
  --forest-2: #163826;
  --ochre: #b85a1f;
  --badge-bg: #ece4d4;
  --focus: #1f4d34;
  --max: 68rem;
  --radius: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 0.18em; }
a:hover { color: var(--forest-2); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
h1, h2, h3, .wordmark {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; font-weight: 560; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand svg { width: 2rem; height: 2rem; color: var(--forest); flex: none; }
.wordmark {
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.wordmark span { display: block; font-size: 0.72rem; font-weight: 450; color: var(--muted); letter-spacing: 0.02em; font-family: "Source Sans 3", system-ui, sans-serif; }
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; }

main { flex: 1; padding: 2.5rem 0 3.5rem; }
.hero { padding: 1.25rem 0 2.25rem; max-width: 42rem; }
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ochre);
  margin: 0 0 0.65rem;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }

.section { margin: 0 0 2.75rem; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.section-note { color: var(--muted); margin: 0; font-size: 0.98rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent);
}
.card p { margin: 0; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--badge-bg);
  color: var(--forest-2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}
.badge.beta { background: #efe0cf; color: #7a3b0e; }
.meta { font-size: 0.95rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-top: 0.35rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: #f7f3ea;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.95rem;
}
.btn:hover { background: var(--forest-2); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--forest); color: var(--forest-2); background: transparent; }

.prose { max-width: 42rem; }
.prose h1 { margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0 0 0.4rem; }
.updated { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; }

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
}

.site-footer {
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; color: var(--forest); }

@media (max-width: 640px) {
  main { padding: 1.75rem 0 2.75rem; }
  .header-inner { padding: 0.75rem 0; }
}
