:root {
  --paper: #ffffff;
  --mist: #eef4f0;
  --ink: #17302a;
  --leaf: #2f7d5b;
  --leaf-dark: #23644a;
  --sun: #f2c14e;
  --slate: #56675f;
  --rule: #d5e2da;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--leaf-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.brand svg { width: 34px; height: 26px; }
.site-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--leaf); }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 14ch;
}
.hero p {
  margin: 0 0 32px;
  color: var(--slate);
  font-size: 19px;
  max-width: 34em;
}
.button {
  display: inline-block;
  background: var(--leaf);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
}
.button:hover { background: var(--leaf-dark); color: #fff; }

.hop-figure { width: 100%; }
.hop-figure .path {
  stroke-dasharray: 2 12;
  animation: drift 2.4s linear 1;
}
@keyframes drift { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }

/* Sections */
.section { padding: 88px 0; }
.section--mist { background: var(--mist); }
.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.lead { font-size: 19px; color: var(--slate); margin: 0 0 18px; max-width: 36em; }

/* Fact list */
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts div {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt { color: var(--slate); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; }

/* Services */
.services { list-style: none; margin: 40px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.services li {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.services h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}
.services p { margin: 0; color: var(--slate); max-width: 36em; }

/* Standards */
.standards { margin: 0; padding-left: 1.2em; max-width: 38em; }
.standards li { margin: 0 0 12px; padding-left: 4px; }
.standards li::marker { color: var(--leaf); }

/* Contact */
.contact-block { font-style: normal; font-size: 18px; line-height: 1.7; }
.contact-block strong { font-family: var(--display); font-size: 22px; display: block; margin-bottom: 6px; }
.contact-lines { margin: 24px 0 0; }
.contact-lines div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 6px 0; }
.contact-lines dt { color: var(--slate); }
.contact-lines dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 32px 0; font-size: 15px; color: var(--slate); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--slate); }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.legal .updated { color: var(--slate); margin: 0 0 40px; }
.legal h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 40px 0 10px;
  letter-spacing: -0.01em;
}
.legal p, .legal li { color: #2b4139; }
.legal ul { padding-left: 1.2em; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap, .split, .services li { grid-template-columns: 1fr; gap: 28px; }
  .services li { gap: 8px; }
  .section { padding: 64px 0; }
  .hop-figure { max-width: 440px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; gap: 8px; }
  .site-nav { gap: 18px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hop-figure .path { animation: none; }
}
