/* Gnurrd Ventures LLC — one stylesheet, no dependencies. */

:root {
  --bg: #fbfaf7;
  --bg-raised: #ffffff;
  --ink: #1c1b18;
  --ink-soft: #57544c;
  --rule: #e2ded3;
  --accent: #3f6b4f;
  --accent-ink: #2f5a40;

  --measure: 62ch;
  --wide: 62rem;
  --step: 1.5rem;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181a;
    --bg-raised: #1e2124;
    --ink: #eceae4;
    --ink-soft: #a8a49a;
    --rule: #31353a;
    --accent: #86bb96;
    --accent-ink: #9fcfad;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.prose {
  max-width: var(--measure);
}

/* When .prose sits on the container itself, keep the container full width so its
   left edge still lines up with the header and hero, and narrow the children. */
.wrap.prose {
  max-width: var(--wide);
}

.wrap.prose > * {
  max-width: var(--measure);
}

/* --- Header --------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --- Typography ----------------------------------------------------- */

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 650;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}

h3 {
  font-size: 1.0625rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

a {
  color: var(--accent-ink);
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Sections ------------------------------------------------------- */

main section {
  padding: calc(var(--step) * 2.25) 0;
  border-bottom: 1px solid var(--rule);
}

main section:last-child {
  border-bottom: 0;
}

.hero {
  padding-top: calc(var(--step) * 3);
}

.lede {
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.3rem 0.8rem 0.3rem 0.7rem;
  background: var(--bg-raised);
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

/* --- Cards ---------------------------------------------------------- */

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

@media (min-width: 46rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.375rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

.card h3 {
  margin-bottom: 0.4rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform 140ms ease, border-color 140ms ease;
  }

  .card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
  }
}

/* --- Contact -------------------------------------------------------- */

.email {
  display: inline-block;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: break-word;
}

/* --- Lists ---------------------------------------------------------- */

.checklist {
  max-width: var(--measure);
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.checklist li {
  margin-bottom: 0.4rem;
}

/* --- Legal / document pages ----------------------------------------- */

.doc h2 {
  margin-top: 2.25rem;
  font-size: 1.25rem;
}

.doc h2:first-of-type {
  margin-top: 1.5rem;
}

.updated {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3rem;
  font-size: 0.9062rem;
  color: var(--ink-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--ink-soft);
}

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

.fine-print {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  opacity: 0.75;
  max-width: var(--measure);
}
