:root {
  --ink: #122421;
  --ink-soft: #3d524e;
  --pine: #0c2422;
  --pine-2: #143330;
  --teal: #1a7a78;
  --teal-deep: #14625f;
  --aqua: #2fafa4;
  --mint: #e7f4f3;
  --mint-2: #f3faf9;
  --paper: #f6f3ec;
  --paper-2: #fffcf7;
  --line: rgba(18, 36, 33, 0.12);
  --line-strong: rgba(18, 36, 33, 0.2);
  --coral: #c24b36;
  --gold: #a56b1f;
  --shadow: 0 24px 60px rgba(12, 36, 34, 0.1);
  --radius: 22px;
  --header: 76px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 420;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, .serif { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--pine);
  color: white;
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(246, 243, 236, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 148px;
}

.mark { height: 36px; width: auto; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.brand-tag {
  margin-top: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 520;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

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

.menu { position: relative; }
.menu > button {
  font: inherit;
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}
.menu > button::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: var(--teal);
  transform: translateY(2px);
}
.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.menu:hover .menu-panel,
.menu:focus-within .menu-panel { display: grid; }
.menu-panel a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  display: grid;
  gap: 2px;
}
.menu-panel a:hover,
.menu-panel a:focus-visible { background: var(--mint); }
.menu-panel small { color: var(--ink-soft); font-size: 0.82rem; }

.nav-link {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-link:hover,
.nav-link[aria-current="page"] { background: rgba(26, 122, 120, 0.1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 560;
  border: 1.5px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 560;
  line-height: 1;
}
.btn-small { padding: 10px 16px; margin-left: 8px; }
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-light { background: white; color: var(--pine); }
.btn-light:hover { background: var(--mint); }
.btn-line {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }

.btn:focus-visible,
.menu > button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.hero {
  padding: 72px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--aqua);
}
h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.98;
  color: var(--pine);
}
h1 em {
  font-style: italic;
  font-weight: 460;
  color: var(--teal);
}
.lede {
  margin-top: 22px;
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.proof-row strong { color: var(--ink); font-weight: 620; }

.call-card {
  background: var(--pine);
  color: white;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.call-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(47, 175, 164, 0.45), transparent 68%);
  pointer-events: none;
}
.call-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffa8;
  box-shadow: 0 0 0 0 rgba(125, 255, 168, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(125, 255, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 255, 168, 0); }
}
.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.step:last-child { margin-bottom: 0; background: rgba(47, 175, 164, 0.16); }
.step .who {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 4px;
}
.step p { font-size: 1.05rem; overflow-wrap: anywhere; }
.step.done p { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.02em; }

.section { padding: 84px 0; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.05;
  color: var(--pine);
}
.section-head p, .sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.band-mint { background: linear-gradient(180deg, var(--mint-2), var(--mint)); }
.band-pine { background: var(--pine); color: white; }
.band-pine h2, .band-pine .section-head p { color: white; }
.band-pine .section-head p { color: rgba(255, 255, 255, 0.78); }
.band-white { background: var(--paper-2); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.stat {
  background: white;
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.stat.good .num { color: var(--teal); }
.stat.bad .num { color: var(--coral); }
.stat h3 { margin-top: 8px; font-size: 1.15rem; font-weight: 620; }
.stat p { margin-top: 8px; color: var(--ink-soft); }
.bar {
  margin-top: 18px;
  height: 8px;
  border-radius: 99px;
  background: var(--mint);
  overflow: hidden;
}
.bar span { display: block; height: 100%; border-radius: inherit; }
.stat.good .bar span { width: 85%; background: var(--teal); }
.stat.bad .bar span { width: 30%; background: var(--coral); }
.note { margin-top: 16px; color: var(--ink-soft); font-size: 0.92rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: 1fr 1fr; }
.card {
  background: white;
  border-radius: 20px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  display: block;
  height: 100%;
}
.card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.kicker,
.card .kicker {
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 640;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
a.card:hover { border-color: var(--teal); transform: translateY(-2px); transition: 0.18s ease; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); }
.card li + li { margin-top: 6px; }

.product-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.product {
  border-radius: 28px;
  padding: 32px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.product.live { background: var(--pine); color: white; }
.product.soon { background: white; border: 1px solid var(--line); }
.product h3 { font-family: var(--serif); font-size: 2.4rem; letter-spacing: -0.03em; font-weight: 560; }
.product p { margin-top: 12px; font-size: 1.05rem; }
.product.live p { color: rgba(255,255,255,0.8); }
.product.soon p { color: var(--ink-soft); }
.product .more { margin-top: auto; padding-top: 22px; font-weight: 620; }
.product.live .more { color: var(--aqua); }
.product.soon .more { color: var(--teal-deep); }
.pill {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 640;
  border-radius: 99px;
  padding: 5px 10px;
  margin-bottom: 16px;
}
.product.live .pill { background: rgba(47,175,164,0.2); color: #b7fff4; }
.product.soon .pill { background: var(--mint); color: var(--teal-deep); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}
.steps article {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px 18px;
}
.steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  color: var(--aqua);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,0.75); font-size: 0.98rem; }

.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.page-hero .lede { margin-bottom: 10px; }

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.person {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
}
.person img {
  width: 148px;
  height: 168px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
  background: var(--mint);
}
.person h3 { font-size: 1.25rem; }
.role { color: var(--teal-deep); font-weight: 600; font-size: 0.92rem; margin: 4px 0 8px; }
.person p { color: var(--ink-soft); font-size: 0.95rem; }
.person a { color: var(--teal-deep); font-weight: 600; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.logo-row span {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 560;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }

form.contact {
  display: grid;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
label { display: grid; gap: 6px; font-weight: 560; font-size: 0.92rem; }
input, select, textarea {
  font: inherit;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status {
  background: var(--mint);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--pine);
}
.form-status[hidden] { display: none; }
pre.copy {
  white-space: pre-wrap;
  font-family: var(--sans);
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  background: var(--pine);
  color: rgba(255,255,255,0.78);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h2 { color: white; font-size: 1.7rem; }
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.site-footer .fine {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.job {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
  align-items: center;
}
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.demos a {
  display: block;
  text-decoration: none;
  background: var(--mint-2);
  border-radius: 16px;
  padding: 16px 16px;
  border: 1px solid var(--line);
  font-weight: 600;
}
.demos a span { display: block; font-weight: 420; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 980px) {
  .hero-grid, .compare, .product-split, .people, .footer-grid, .job, .form-row, .cta-band {
    grid-template-columns: 1fr;
  }
  .cards, .cards.three, .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { align-items: start; }
  .person { grid-template-columns: 112px 1fr; }
  .person img { width: 112px; height: 132px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .site-nav.is-open { display: flex; }
  .menu-panel {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    background: transparent;
    min-width: 0;
  }
  .btn-small { margin: 8px 0 0; }
  .cards, .cards.three, .steps, .cards.two { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .section { padding: 56px 0; }
  .container, .container-wide { width: min(var(--max), calc(100% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  a.card:hover { transform: none; }
}
