:root {
  --ink: #646a6a;
  --ink-strong: #3d4242;
  --brand: #7bc200;
  --muted: #646a6a;
  --ground: #f5f6f2;
  --surface: #ffffff;
  --line: rgba(100, 106, 106, 0.24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  max-width: 78rem;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  flex-direction: column;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  background: var(--ink-strong);
  color: var(--surface);
  text-decoration: none;
  transform: translateY(-200%);
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.site-footer {
  color: var(--muted);
}

.hero {
  width: min(100%, 48rem);
  margin: auto 0;
  padding: 8rem 0;
}

.eyebrow {
  margin-bottom: 1.5rem;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 32rem;
  margin: 2rem 0 2.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.contact {
  width: min(100%, 48rem);
  padding: 5rem 0 7rem;
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 20ch;
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.contact-details {
  display: grid;
  margin-top: 2.5rem;
  gap: 1.5rem 3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-details p {
  margin: 0;
}

.contact-details span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--ink-strong);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--surface);
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--ink-strong);
}

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

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 38rem) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 6rem 0;
  }

  .contact {
    padding: 4rem 0 5rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

.brand-logo {
  display: block;
  width: min(11rem, 42vw);
  height: auto;
  mix-blend-mode: multiply;
}

.brand-link,
.back-link {
  color: var(--ink-strong);
}

.legal-page {
  min-height: auto;
}

.legal-content {
  width: min(100%, 44rem);
  margin: 7rem 0 4rem;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 4rem;
}

.legal-content h2 {
  margin: 2.5rem 0 0.5rem;
  color: var(--ink-strong);
  font-size: 1.1rem;
}

.legal-content p {
  margin: 0;
}

.legal-content p + p {
  margin-top: 0.85rem;
}

.pending {
  color: var(--muted);
  font-style: italic;
}

.legal-note {
  margin-top: 4rem !important;
  color: var(--muted);
  font-size: 0.85rem;
}

.not-found {
  width: min(100%, 48rem);
  margin: auto 0;
  padding: 8rem 0;
}

.not-found-code {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
