/* PureGrowth Ventures. Palette contrast is verified by qa.py. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --mist: #eef2f1;
  --pane: #e1e9e7;
  --ink: #0d2b2d;
  --spruce: #12403f;
  --amber: #e3b23c;
  --slate: #47615f;
  --line: rgba(13, 43, 45, 0.22);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Arial Narrow", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --max: 74rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  text-decoration-thickness: 3px;
}

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

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--sans);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

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

/* Type */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  text-wrap: balance;
}

h1 {
  font-weight: 800;
  font-stretch: 115%;
  font-size: clamp(2.5rem, 1.3rem + 5.8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 750;
  font-stretch: 106%;
  font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

h3 {
  font-weight: 700;
  font-stretch: 100%;
  font-size: 1.1875rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1.1em;
  max-width: 38rem;
}

.lead {
  font-family: var(--sans);
  font-weight: 600;
  font-stretch: 100%;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.3;
  max-width: 34rem;
}

.muted {
  color: var(--slate);
}

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

/* Header */

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.wordmark__text span {
  font-weight: 400;
  font-stretch: 100%;
}

.mark {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--ink);
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
  border-bottom-color: var(--amber);
}

.site-nav .nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--ink);
  color: var(--mist);
  border: 0;
  border-radius: 0.25rem;
}

.site-nav .nav-cta:hover {
  background: var(--spruce);
}

.site-nav .nav-cta[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--amber);
}

/* Buttons */

.btn {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--spruce);
  text-decoration: none;
}

.btn--amber {
  background: var(--amber);
  color: var(--ink);
}

.btn--amber:hover {
  background: #f0c456;
}

.text-link {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1rem;
}

/* Sections */

.section {
  padding-block: clamp(3rem, 6.5vw, 5.75rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 1.5rem 4rem;
}

.split__head > * + * {
  margin-top: 1rem;
}

.split__body > :last-child {
  margin-bottom: 0;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .split__head {
    align-self: start;
    position: sticky;
    top: 1.5rem;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.hero__copy h1 {
  margin-bottom: 1.5rem;
}

.hero__copy .lead {
  margin-bottom: 1.25rem;
}

.hero__copy .btn {
  margin-top: 0.75rem;
}

.hero__rings {
  position: absolute;
  z-index: 0;
  right: -14%;
  top: 50%;
  width: clamp(26rem, 64vw, 56rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.rings {
  display: block;
  width: 100%;
  height: auto;
}

.ring {
  fill: none;
  stroke: var(--spruce);
  stroke-width: 1.4;
  stroke-opacity: 0.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: ring-draw 2.2s cubic-bezier(0.45, 0, 0.2, 1) both;
  animation-delay: calc(var(--i) * 75ms);
}

.ring--amber {
  stroke: var(--amber);
  stroke-width: 3.5;
  stroke-opacity: 1;
}

.pith {
  fill: var(--ink);
}

@keyframes ring-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 55.99rem) {
  .hero__rings {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 120%;
    max-width: none;
    height: 13rem;
    margin: 0 -10% 1.5rem auto;
    overflow: hidden;
  }

  .hero__rings .rings {
    position: absolute;
    left: 50%;
    top: -2rem;
    width: 30rem;
    transform: translateX(-50%);
  }
}

/* Service rows on the home page */

.engines {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.engine {
  display: grid;
  gap: 0.75rem 3rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.engine h3 {
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.engine p {
  margin-bottom: 0.75rem;
}

.engine__tags {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--slate);
}

@media (min-width: 56rem) {
  .engine {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* Process: the one real sequence on the site */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2.5rem 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 3rem;
  height: 4px;
  background: var(--amber);
}

.steps h3 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-weight: 800;
  font-stretch: 110%;
  font-size: 1.35rem;
}

.steps h3::before {
  content: counter(step);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 2rem;
  line-height: 1;
  color: var(--spruce);
}

.steps p {
  margin: 0.6rem 0 0;
}

/* Capability lists, flows and phases */

.caps-title {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
}

.caps {
  columns: 2 13rem;
  column-gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.caps li {
  break-inside: avoid;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 96%;
  font-size: 0.97rem;
  line-height: 1.35;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-weight: 650;
}

.flow li {
  padding-right: 0.7rem;
}

.flow li + li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.8rem;
  border-top: 2px solid var(--slate);
  border-right: 2px solid var(--slate);
  transform: rotate(45deg);
  vertical-align: 0.1em;
}

.flow-label {
  margin: 1.75rem 0 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
}

.phases {
  display: grid;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

@media (min-width: 40rem) {
  .phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.phases .caps {
  columns: 1;
  margin-top: 0.6rem;
}

/* Comparison table */

/* position: relative keeps the absolutely positioned .sr labels inside the
   scroll box. Without it they escape to the page and widen a 375px phone
   layout to 570px (measured 2026-11-16 in Chromium). */
.compare-wrap {
  position: relative;
  margin-top: 2.25rem;
  overflow-x: auto;
}

.compare {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.97rem;
  line-height: 1.35;
}

.compare caption {
  padding-bottom: 0.75rem;
  text-align: left;
  font-weight: 650;
}

.compare th,
.compare td {
  padding: 0.8rem 1rem 0.8rem 0;
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  border-bottom: 3px solid var(--ink);
  font-weight: 750;
  font-stretch: 104%;
  font-size: 1.05rem;
}

.compare tbody tr {
  border-top: 1px solid var(--line);
}

/* z-index: the .yes marks are position: relative, so without it they paint
   over this sticky label column when the table scrolls sideways on phones. */
.compare tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--mist);
  font-weight: 650;
  min-width: 9rem;
}

.compare .col-first {
  width: 12rem;
}

.yes,
.no {
  display: inline-block;
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: -0.2em;
}

.yes::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0;
  width: 0.4rem;
  height: 0.8rem;
  border-right: 3px solid var(--spruce);
  border-bottom: 3px solid var(--spruce);
  transform: rotate(40deg);
}

.no::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.5rem;
  width: 0.8rem;
  border-top: 2px solid var(--slate);
}

/* Closing band */

.cta {
  background: var(--spruce);
  color: var(--mist);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.cta__inner > * + * {
  margin-top: 1.1rem;
}

.cta h2 {
  max-width: 34rem;
}

.cta p {
  margin-bottom: 0;
}

.cta :focus-visible {
  outline-color: var(--amber);
}

/* Interior page heads */

.page-head {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.page-head h1 {
  max-width: 50rem;
  font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem);
}

.page-head .lead {
  margin-top: 1.5rem;
}

.page-head p:not(.lead) {
  margin-top: 1.25rem;
}

/* Contact form */

.form {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  padding: 0;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.97rem;
}

.field .hint {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--slate);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: 0.25rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.field [aria-invalid="true"] {
  border-width: 3px;
}

.field-error {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: var(--pane);
}

.consent input {
  width: 1.4rem;
  height: 1.4rem;
  margin: 0.2rem 0 0;
  accent-color: var(--spruce);
}

.consent label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.form-status {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 5px solid var(--ink);
  background: var(--pane);
  font-family: var(--sans);
  font-weight: 600;
}

.form-status--ok {
  border-left-color: var(--spruce);
}

.form-status--error {
  border-left-color: var(--amber);
}

.aside-note {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.aside-note h2 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

/* Prose pages */

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
}

.prose ul {
  max-width: 38rem;
  padding-left: 1.25rem;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem 3rem;
}

.site-footer__name {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.1rem;
}

.site-footer__tag {
  margin: 0;
  max-width: 24rem;
  color: var(--slate);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-block;
  padding: 0.2rem 0;
}

.site-footer__legal {
  margin: 0;
  color: var(--slate);
}

@media (min-width: 56rem) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

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

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

  html {
    scroll-behavior: auto;
  }
}
