:root {
  color-scheme: light;
  --ink: oklch(27% 0.035 164);
  --body: oklch(43% 0.025 164);
  --muted: oklch(57% 0.02 164);
  --paper: oklch(98.5% 0.007 164);
  --surface: oklch(95% 0.025 200);
  --green: oklch(42% 0.075 164);
  --line: oklch(87% 0.018 164);
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --space-4xl: clamp(4rem, 9vw, 7rem);
  --page: min(100% - 3rem, 68rem);
  --display: Futura, "Century Gothic", "Avenir Next", sans-serif;
  --body-face: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-family: var(--body-face);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: -5rem;
  left: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: var(--space-lg);
}

.site-header,
.site-footer,
main {
  width: var(--page);
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.site-header {
  min-height: 4.75rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-weight: 680;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

nav a,
.back-link {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 560;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.kicker {
  margin: 0 0 var(--space-lg);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 620;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.6fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: end;
  padding-block: var(--space-4xl);
}

.hero-text {
  max-width: 34rem;
  margin: var(--space-xl) 0 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero address {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
}

.hero address a {
  display: inline-block;
  margin-top: var(--space-md);
  color: var(--green);
  font-weight: 650;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.services article {
  padding-block: var(--space-3xl);
}

.services article + article {
  padding-left: var(--space-3xl);
  border-left: 1px solid var(--line);
}

.services p {
  margin: var(--space-md) 0 0;
  color: var(--muted);
}

.product {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-3xl);
  margin-block: var(--space-4xl);
  padding: var(--space-3xl);
  background: var(--surface);
}

.product p:not(.kicker) {
  margin: var(--space-md) 0 0;
}

.product-link {
  flex: none;
  color: var(--green);
  font-weight: 680;
}

.site-footer {
  min-height: 6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  max-width: 56rem;
  padding-block: var(--space-4xl);
}

.legal-page h1 {
  margin-bottom: var(--space-3xl);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal-copy {
  max-width: 45rem;
}

.legal-copy p {
  margin: 0 0 var(--space-xl);
}

.legal-copy h2 {
  margin: var(--space-3xl) 0 var(--space-lg);
}

.legal-copy a {
  color: var(--green);
}

.legal-list {
  display: grid;
  gap: var(--space-lg);
  margin: calc(-1 * var(--space-sm)) 0 var(--space-xl);
  padding-left: 1.25rem;
}

.legal-list li::marker {
  color: var(--green);
}

@media (max-width: 42rem) {
  :root {
    --page: min(100% - 2rem, 68rem);
  }

  .site-header nav {
    gap: var(--space-lg);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .services {
    grid-template-columns: 1fr;
  }

  .services article {
    padding-block: var(--space-2xl);
  }

  .services article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product {
    align-items: start;
    flex-direction: column;
    padding: var(--space-2xl);
  }

  .legal-page h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
  }
}

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