/* Canopy: join.getcanopy.run */

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-deep: #1c5a38;
  --green-deep-hover: #164a2d;
  --green: #2e8b57;
  --apricot: #ff9f5a;
  --teal: #2fb6a8;
  --ink: #1a2320;
  --ink-2: #2a3330;
  --body: #5c6b64;
  --muted: #8b9a92; /* Decorative only: 2.9:1 on the page, too light for text. */
  --bg: #fdfefd;
  --tint: #f4faf6;
  --line: #dfeae4;
  --field-line: #7a8a82; /* Input borders need 3:1 against white and the tint. */
  --on-dark: #e3eee8;
  --error: #a4262c;

  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --content: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg {
  display: block;
}

/* Keep `hidden` working on elements that set their own display. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
dt {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-wrap: balance;
}

p,
dd {
  margin: 0;
  text-wrap: pretty;
}

strong {
  font-weight: 900;
}

a {
  color: var(--green-deep);
  text-underline-offset: 3px;
}

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

[id] {
  scroll-margin-top: 24px;
}

.container {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 10;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  padding-block: 22px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.3125rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand .mark {
  width: 42px;
  height: auto;
}

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

.nav-link {
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--green-deep);
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--green-deep-hover);
}

.button:active {
  transform: translateY(1px);
}

.button[disabled] {
  cursor: progress;
  opacity: 0.75;
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding-inline: 4px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  color: var(--green-deep);
}

.text-link .arrow {
  transition: transform 0.15s ease;
}

.text-link:hover .arrow {
  transform: translateY(2px);
}

/* Type */

.h2 {
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  line-height: 1.5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--green-deep);
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--green);
}

.eyebrow-apricot::before {
  background: var(--apricot);
}

.eyebrow-teal::before {
  background: var(--teal);
}

/* Sections */

.section {
  padding-block: clamp(64px, 9vw, 120px) 0;
}

.section-first {
  padding-top: 0;
}

.section-flush {
  padding-top: clamp(64px, 9vw, 120px);
}

#main > .section:last-child {
  padding-bottom: clamp(64px, 9vw, 120px);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--tint);
  padding: clamp(28px, 5.5vw, 72px);
}

.panel-dark {
  border-color: var(--green-deep);
  background: var(--green-deep);
}

/* Hero */

.hero {
  padding-block: clamp(40px, 8vw, 112px) clamp(56px, 8vw, 104px);
}

.hero h1 {
  font-size: clamp(2.75rem, calc(8.2vw - 0.5rem), 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--green-deep);
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  margin-top: clamp(28px, 4vw, 48px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 36px;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 300px);
}

.hero-mark svg {
  width: 100%;
  height: auto;
}

/* The problem */

.statement {
  max-width: 34ch;
  color: var(--ink-2);
  font-size: clamp(1.5rem, 1.05rem + 1.75vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.statement strong {
  color: var(--green-deep);
  white-space: nowrap;
}

/* How we work */

.section-title {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 92px minmax(0, 19rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--tint);
  padding: 32px 40px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-deep);
  font-size: 1.125rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.block {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.block-green {
  background: var(--green);
}

.block-apricot {
  background: var(--apricot);
}

.block-teal {
  background: var(--teal);
}

.step h3 {
  font-size: clamp(1.3125rem, 1.1rem + 0.7vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.step p {
  font-size: 1.125rem;
}

/* There's a name for this */

.name-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 32px 64px;
}

.name-panel .h2 {
  color: #fff;
}

.name-panel .lead {
  color: var(--on-dark);
}

/* Who we work with / Where we are */

.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: clamp(28px, 4vw, 48px);
}

.card-text {
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
}

/* Questions */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px 64px;
}

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

.faq-item {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.faq dt {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.faq dd {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 1.125rem;
}

/* Contact */

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 72px;
}

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

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 900;
}

.optional {
  color: var(--body);
  font-weight: 400;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green-deep);
  outline: 2px solid var(--green-deep);
  outline-offset: 0;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  margin-top: 6px;
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 900;
}

.field-error:empty {
  display: none;
}

.trap {
  display: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 4px;
}

.form-note {
  font-size: 0.9375rem;
}

.form-status {
  color: var(--error);
  font-weight: 900;
}

/* Empty, it takes no space but stays readable by screen readers, so new messages get announced. */
.form-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 28px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.form-success svg {
  flex: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.brand-footer {
  font-size: 1.125rem;
}

.brand-footer .mark {
  width: 34px;
}

.footer-meta {
  font-size: 0.9375rem;
}

.footer-link {
  font-size: 0.9375rem;
  font-weight: 900;
}

/* Smaller screens */

@media (max-width: 980px) {
  .step {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 6px 24px;
  }

  .step p {
    grid-column: 2;
  }

  .name-panel,
  .faq-layout,
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-mark {
    display: none;
  }

  .two-up {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-link {
    display: none;
  }
}

@media (max-width: 560px) {
  .step {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .step p {
    grid-column: auto;
  }

  .step-num {
    margin-bottom: 6px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Thanks, oops and 404 pages */

.simple-page {
  padding-block: clamp(32px, 8vw, 96px) clamp(64px, 9vw, 120px);
}

.simple-panel {
  display: grid;
  justify-items: start;
  gap: 24px;
  max-width: 760px;
}
