/* ==========================================================================
   Everlob Ventures LLC — everlob.com
   Design tokens, base styles, components, layout.
   ========================================================================== */

:root {
  /* Color — sampled from the Everlob logo: warm near-black, off-white, deep green */
  --ink: #1c1b19;
  --ink-2: #33312e;
  --muted: #63605a;
  --muted-2: #706d66;
  --paper: #faf9f5;
  --paper-2: #f3f1eb;
  --surface: #ffffff;
  --line: #e4e1d8;
  --line-strong: #d3cfc4;
  --accent: #1f483d;
  --accent-hover: #16332b;
  --accent-soft: #edf1ee;
  --beet: #7a2f43;
  --focus: #1f483d;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing / layout */
  --container: 1140px;
  --container-narrow: 760px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 16px;

  /* Section rhythm */
  --section-y: 96px;

  /* Elevation (very restrained) */
  --shadow-sm: 0 1px 2px rgba(28, 27, 25, 0.05);
  --shadow-md: 0 8px 30px rgba(28, 27, 25, 0.07);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 1.6rem + 3vw, 3.6rem);
}

h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.15em;
  color: var(--ink-2);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  color: var(--ink-2);
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.4em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

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

::selection {
  background: #dde6e1;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.7);
}

.section--alt {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0;
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Typographic utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 44px;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-head--flush {
  margin-bottom: 0;
}

.rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: #2c2a27;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--secondary:hover {
  background: var(--surface);
  border-color: var(--muted-2);
}

.btn--block {
  width: 100%;
}

.btn .icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
}

.link-arrow .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.18s ease;
}

.link-arrow:hover .icon {
  transform: translateX(2px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Wordmark lockup — echoes the Everlob logo: mark + heavy uppercase wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__suffix {
  color: var(--muted);
  font-weight: 400;
}

/* Very narrow screens: shorten the header lockup to the mark + EVERLOB.
   The link's aria-label still reads "Everlob Ventures — home". */
@media (max-width: 420px) {
  .site-header .brand {
    font-size: 0.875rem;
    letter-spacing: 0.07em;
  }

  .site-header .brand__mark {
    width: 26px;
    height: 26px;
  }

  .site-header .brand__suffix {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 450;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover {
  color: var(--ink);
  background: rgba(28, 27, 25, 0.05);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 550;
}

/* Holds the menu button; only present at mobile widths. */
.header-actions {
  display: none;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
}

.nav-toggle__bars::before {
  transform: translateY(-5.5px);
}

.nav-toggle__bars::after {
  transform: translateY(5.5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav__link:hover {
    background: transparent;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px) clamp(64px, 8vw, 108px);
  overflow: hidden;
}

.hero::before {
  /* Subtle grid motif — decorative only */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 22%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 72% 22%, #000 0%, transparent 72%);
  opacity: 0.75;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 780px;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero__tagline {
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 22ch;
  text-wrap: balance;
}

.hero__copy {
  max-width: 60ch;
}

.page-hero {
  padding-block: clamp(64px, 7vw, 96px) clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 20px;
}

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

.grid {
  display: grid;
  gap: 20px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 980px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid--4,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.card__index {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* Capability list (About page) */
.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.capability-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 32px;
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.capability-list dt,
.capability-list .term {
  font-weight: 550;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.capability-list .desc {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 620px) {
  .capability-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* --------------------------------------------------------------------------
   Venture (EverBeet) feature
   -------------------------------------------------------------------------- */

.venture {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.venture__body {
  padding: clamp(32px, 4vw, 52px);
}

.venture__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.venture__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--beet);
}

.venture__name {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  margin-bottom: 6px;
}

.venture__kicker {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.venture__body p {
  max-width: 52ch;
}

.venture__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.venture__meta strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.venture__aside {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 40px;
  background: linear-gradient(160deg, #f7f3f4 0%, #f2eeef 55%, #efe9eb 100%);
  border-left: 1px solid var(--line);
}

.venture__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(122, 47, 67, 0.16) 1px, transparent 0);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  opacity: 0.7;
}

.venture__logo {
  position: relative;
  text-align: center;
}

.venture__logo-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.venture__logo-word {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--beet);
}

.venture__logo-url {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (max-width: 880px) {
  .venture {
    grid-template-columns: 1fr;
  }

  .venture__aside {
    order: -1;
    min-height: 200px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Note / callout */
.note {
  padding: 24px 26px;
  background: var(--accent-soft);
  border: 1px solid #dbe3dd;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.note p {
  margin: 0;
  max-width: 70ch;
}

.note--plain {
  background: var(--paper-2);
  border-color: var(--line);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-detail {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.contact-detail__value {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.contact-detail__note {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
}

.form__title {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.field .optional {
  color: var(--muted-2);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 72, 61, 0.12);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a8384a;
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(168, 56, 74, 0.12);
}

.field__error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: #a8384a;
}

.field__error:empty {
  margin-top: 0;
}

.form__footnote {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

.form__status {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
}

.form__status:empty {
  margin-top: 0;
}

.form__status[data-state="success"] {
  color: var(--accent);
}

.form__status[data-state="error"] {
  color: #a8384a;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Legal / long-form pages
   -------------------------------------------------------------------------- */

.legal {
  max-width: 74ch;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  padding-top: 4px;
  letter-spacing: -0.02em;
}

.legal h2:first-of-type {
  margin-top: 8px;
}

.legal h3 {
  margin-top: 30px;
  font-size: 1.0625rem;
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 1rem;
}

.legal ul {
  margin-bottom: 1.15em;
}

.legal .meta-date {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta {
  background: var(--ink);
  color: #fff;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #b5b2ab;
  max-width: 56ch;
}

.cta .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta .btn--primary {
  background: #fff;
  color: var(--ink);
}

.cta .btn--primary:hover {
  background: #eceae4;
}

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

.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: 64px 32px;
  font-size: 0.9375rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (max-width: 880px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

.site-footer__brand p {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--ink-2);
  font-size: 0.9rem;
}

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

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__bottom--bare {
  border-top: 0;
  padding-top: 0;
}

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

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__legal a {
  color: var(--muted);
}

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

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  display: flex;
  align-items: center;
  min-height: 58vh;
  padding-block: 80px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

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

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

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .cta,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 12pt;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
}
