:root {
  color-scheme: light;
  --ink: #172b2a;
  --muted: #526762;
  --green: #17664f;
  --forest: #143b33;
  --cream: #f7f6ee;
  --paper: #fdfdf8;
  --lime: #d9f3a0;
  --line: #dce4d9;
  --white: #fff;
  --danger: #982f27;
  --shell: 72rem;
  --radius: 1.25rem;
  --shadow: 0 18px 60px rgb(22 56 46 / 12%);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-width: 0;
  line-height: 1.6;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
img, svg { display: block; }
p, h1, h2, h3, dl { margin: 0; }
p { color: var(--muted); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.11;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.45rem, 5.9vw, 4.9rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.2rem; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }

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

.container {
  width: min(var(--shell), calc(100% - 5rem));
  margin-inline: auto;
}

.skip {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 10;
  padding: .55rem 1rem;
  background: var(--white);
  transform: translateY(-200%);
  font-weight: 700;
}

.skip:focus { transform: translateY(0); }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav { min-height: 4.7rem; }
.nav nav, .footer-inner nav { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; }

.nav nav a, .footer-inner nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}

.nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .65rem;
  background: var(--forest);
  color: var(--lime);
}

.hero {
  padding-block: clamp(3.4rem, 7.4vw, 6.8rem);
  background:
    radial-gradient(ellipse at 88% 9%, #e3ecd8 0%, transparent 45%),
    linear-gradient(135deg, var(--cream) 35%, #f0f3e8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .95fr);
  gap: clamp(2.6rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 { margin: 1.2rem 0 1.35rem; text-wrap: initial; }
.hero h1 em { color: var(--green); font-style: normal; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--green);
  font-size: .72rem;
  font-weight: 780;
  line-height: 1.4;
  letter-spacing: .13em;
}

.pulse {
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 .2rem #d9e8d6;
  flex: none;
}

.lead { max-width: 35rem; font-size: clamp(1.04rem, 1.7vw, 1.2rem); line-height: 1.65; }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  margin-top: 1.95rem;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  max-width: 100%;
  min-height: 3rem;
  padding: .66rem 1.02rem;
  border: 1px solid transparent;
  border-radius: .58rem;
  background: var(--forest);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-size: .94rem;
  font-weight: 730;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.button:hover { background: #0c2c25; }
.button[disabled] { cursor: wait; opacity: .66; }
.button span { line-height: 1; font-size: 1.2em; }
.button.secondary { color: var(--forest); background: var(--white); border-color: #afc2b7; }
.button.secondary:hover { background: #ecf3ed; }

.plain-link {
  display: inline-flex;
  align-items: baseline;
  gap: .37rem;
  font-size: .9rem;
  font-weight: 730;
}

.hero-actions .plain-link { min-height: 44px; align-items: center; }
.price-note { margin-top: .85rem; font-size: .84rem; }

.sample-card {
  scroll-margin-top: 1rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #c9d9cb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sample-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: 1.3rem clamp(1.05rem, 3vw, 1.6rem);
  background: var(--forest);
}

.sample-top .eyebrow { color: var(--lime); font-size: .64rem; }
.sample-title { color: var(--white); font-weight: 730; line-height: 1.3; margin-top: .26rem; }

.badge, .tag {
  display: inline-block;
  padding: .19rem .55rem;
  border-radius: 2rem;
  color: #225442;
  background: #e8f3e5;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
}

.badge { flex: none; color: #203527; background: var(--lime); letter-spacing: .06em; font-size: .64rem; }
.tag { margin-right: .35rem; }
.sample-main { padding: 1.4rem clamp(1.05rem, 3vw, 1.6rem) 1.35rem; }
.sample-main h2 { margin: .65rem 0 .4rem; font-size: clamp(1.3rem, 2.7vw, 1.75rem); text-wrap: initial; }
.sample-desc { font-size: .91rem; }

.facts {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: .7rem;
  margin-block: 1.05rem;
  padding-block: .8rem;
  border-block: 1px solid var(--line);
}

.facts dt { color: var(--muted); font-size: .71rem; line-height: 1.25; }
.facts dd { margin: .12rem 0 0; font-size: 1.03rem; font-weight: 750; letter-spacing: -.015em; }

.sample-reason {
  padding: .68rem .84rem;
  margin-bottom: .82rem;
  border-left: 3px solid #75a38b;
  border-radius: 0 .45rem .45rem 0;
  background: #eef5ed;
}

.sample-reason strong { display: block; color: #214c3d; font-size: .82rem; }
.sample-reason p { font-size: .8rem; line-height: 1.45; margin-top: .2rem; }
.sample-footer { background: #f8faf6; border-top: 1px solid var(--line); font-size: .75rem; padding: .63rem clamp(1.05rem, 3vw, 1.6rem); }

.strip { background: #edf2e7; border-block: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.strip-inner > div {
  display: grid;
  justify-content: center;
  gap: .12rem;
  padding: 1.05rem .8rem;
  font-size: .93rem;
}

.strip-inner > div + div { border-left: 1px solid #d7e0d4; }
.strip-inner strong { font-size: .92rem; }
.strip-inner span { color: var(--muted); font-size: .8rem; }

.how, .faq, .legal { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section-heading .eyebrow { margin-bottom: .52rem; }
.section-heading > p:last-child { margin-top: .75rem; }
.section-heading h1, .section-heading h2 { text-wrap: initial; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.35rem);
  margin: 1.65rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: .9rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .8rem;
  border-radius: .48rem;
  background: #e7f0df;
  color: #23543e;
  font-size: .74rem;
  font-weight: 780;
}

.steps p { margin-top: .5rem; font-size: .93rem; }

.pricing { background: var(--forest); padding-block: clamp(2.5rem, 6vw, 4.75rem); color: var(--white); }
.pricing-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .52fr); gap: clamp(1.7rem, 6vw, 5rem); align-items: center; }
.pricing h2 { color: var(--white); margin-block: .55rem .7rem; max-width: 15em; text-wrap: initial; }
.pricing p { color: #d5e4d9; }
.pricing .eyebrow { color: var(--lime); }

.pricing-card {
  border: 1px solid #719489;
  border-radius: .9rem;
  padding: 1.5rem;
  background: #20483e;
}

.pricing-card .amount {
  color: var(--white);
  line-height: 1;
  font-size: clamp(2.9rem, 5vw, 3.7rem);
  font-weight: 780;
  letter-spacing: -.07em;
}

.amount span { color: #d5e4d9; font-size: .88rem; font-weight: 600; letter-spacing: 0; }
.pricing-card .button { margin-top: .95rem; background: var(--lime); color: #203527; }
.pricing-card .button:hover { background: #ecffbc; }
.pricing-card .button:focus-visible { outline-color: var(--lime); }
.pricing-card p:last-child { margin-top: .65rem; font-size: .8rem; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
  gap: clamp(1.3rem, 5vw, 4.5rem);
}

details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-block: .82rem;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.25rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: .86rem; font-size: .92rem; }

footer { padding-block: 1.45rem; background: var(--cream); border-top: 1px solid var(--line); }
.footer-inner p { font-size: .8rem; margin-top: .52rem; }
.footer-inner .brand { font-size: 1.05rem; }
.footer-inner .brand-mark { width: 1.8rem; height: 1.8rem; border-radius: .52rem; }
.footer-inner .brand-mark svg { width: 1rem; height: 1rem; }

.account { padding-block: clamp(2.8rem, 6vw, 5rem); }
.account .section-heading { margin-bottom: 1.55rem; }
.account h1, .legal h1 { font-size: clamp(2.1rem, 5vw, 3.65rem); }
.account h2, .legal h2 { font-size: clamp(1.28rem, 2.5vw, 1.58rem); }

.panel {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .9rem;
  box-shadow: 0 6px 20px rgb(22 56 46 / 5%);
}

.panel h2 + p, .panel h1 + p { margin-top: .45rem; }
.panel.small, #signin-panel, #waiting-panel { max-width: 36rem; }
.panel.small h1 { margin-top: .45rem; }
.panel.small > .button, #waiting-panel > .button { margin-top: 1rem; }
.panel.small > .plain-link { display: table; margin-top: .7rem; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .47fr); gap: 1.2rem; align-items: start; }
.panel form { margin-top: .9rem; }
form > label:not(.check), legend { font-size: .9rem; font-weight: 720; }
legend { padding: 0; }
form > label:not(.check) { display: block; }
form > input { display: block; width: 100%; }
form > .button { margin-top: .8rem; }

input[type="email"], input[type="text"], input[type="number"], input:not([type]) {
  min-height: 2.8rem;
  margin: .28rem 0 .88rem;
  padding: .48rem .65rem;
  border: 1px solid #a8bdb0;
  border-radius: .42rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  line-height: 1.25;
}

input::placeholder { color: #596b65; opacity: 1; }
input[type="checkbox"] { width: 1.06rem; height: 1.06rem; margin: .14rem 0 0; accent-color: var(--forest); flex: none; }
fieldset { min-inline-size: 0; margin: 0 0 1rem; border: 0; padding: .28rem 0 0; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem .85rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .52rem;
  min-height: 2rem;
  padding-block: .3rem;
  font-size: .86rem;
  line-height: 1.35;
  cursor: pointer;
}

.check span { overflow-wrap: anywhere; }
.pause { margin-block: .75rem .35rem; }
.optional { color: var(--muted); font-size: .75rem; font-weight: 500; margin-left: .25rem; }
.hint { color: var(--muted); font-size: .81rem; }
#max-value { margin-bottom: .3rem; }
.billing .eyebrow { margin-bottom: .3rem; }
.billing .button { display: flex; width: 100%; margin-top: .65rem; }
.billing .hint { margin-top: .8rem; }

.text-button {
  display: inline-block;
  border: 0;
  padding: .45rem 0;
  margin-top: .25rem;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.message:not(:empty) {
  padding: .62rem .85rem;
  margin-block: .7rem;
  background: #eaf5ea;
  border: 1px solid #cadfcb;
  border-radius: .4rem;
  color: #22543d;
  overflow-wrap: anywhere;
}

.message.error:not(:empty) { background: #fdf0eb; color: var(--danger); border-color: #f0d0c4; }
.legal { max-width: 50rem; }
.legal h1 { margin: .52rem 0 1.15rem; }
.legal h2 { margin: 1.2rem 0 .38rem; }
.legal p { overflow-wrap: anywhere; }
.legal .attribution { margin-top: 1.3rem; font-size: .86rem; }

@media (max-width: 820px) {
  .container { width: min(var(--shell), calc(100% - 3rem)); }
  .hero-grid, .account-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 39rem; }
  .hero h1 { max-width: 12em; }
  .sample-card { max-width: 37rem; }
  .account-grid { max-width: 42rem; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 2rem); }
  .nav { min-height: 4.15rem; }
  .hero-grid { gap: 1.7rem; }
  .hero h1 { margin-block: .8rem .9rem; }
  .hero-actions { margin-top: 1.05rem; gap: .35rem .95rem; }
  .price-note { margin-top: .5rem; }
  .strip-inner, .steps, .pricing-inner, .faq { grid-template-columns: 1fr; }
  .strip-inner > div { justify-content: start; padding: .7rem .18rem; }
  .strip-inner > div + div { border-left: 0; border-top: 1px solid #d7e0d4; }
  .steps { margin-top: 1.1rem; }
  .pricing-card { max-width: 26rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .check { min-height: 2.55rem; }
}

@media (max-width: 410px) {
  .nav nav .nav-sample { display: none; }
  .checkbox-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .button { padding-inline: .78rem; }
  .button { min-height: 2.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Public site and client workspace */
:root {
  --paper: #fbfcf8;
  --cream: #f1f4ec;
  --forest: #123b32;
  --lime: #d9f67d;
  --line: #d6dfd4;
  --shell: 77rem;
}
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .095em; }
.nav { min-height: 4.45rem; }
.nav .nav-account { padding-inline: 1rem; border: 1px solid #a9bbae; border-radius: 2rem; }
.hero {
  color: white;
  background-color: #10392f;
  background-image: radial-gradient(ellipse at 87% 32%, #285241 0, transparent 59%),
    repeating-linear-gradient(90deg, transparent 0 78px, #ffffff06 78px 79px);
  padding-block: clamp(3.5rem, 7vw, 6.8rem);
}
.hero-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,.86fr); gap: clamp(2.2rem,6.7vw,7.4rem); }
.hero .eyebrow { color: var(--lime); }
.hero-copy .eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--lime); }
.hero h1 { color: #fff; font-weight: 640; letter-spacing: -.068em; font-size: clamp(3.1rem,5.65vw,5.5rem); line-height: .995; max-width: 12ch; }
.hero h1 em { color: var(--lime); }
.hero .lead { color: #dfebe3; max-width: 33rem; }
.hero-actions .button { background: var(--lime); color: #143628; }
.hero-actions .button:hover { background: #e5ffa5; }
.hero-actions .plain-link { color: #eff6ea; }
.hero .price-note { color: #cfddd5; font-size: .93rem; }
.button { padding-inline: 1.24rem; border-radius: .5rem; }
.sample-card { color: var(--ink); border-radius: .85rem; border: 0; background: #fffef8; box-shadow: 0 1rem 2.6rem #081d2259; }
.sample-top { background: #e4edce; border-bottom: 1px solid #c9d6ba; padding-block: 1rem; }
.sample-top .eyebrow { color: #294633; font-size: .79rem; }
.sample-source { font-size: .82rem; color: #315041; }
.tag { background: #f0f1e7; color: #38523b; border-radius: .25rem; font-size: .82rem; }
.sample-main { padding-block: 1.6rem; }
.sample-main h2 { max-width: 15ch; font-size: clamp(1.7rem,3vw,2.5rem); }
.facts dt, .sample-reason strong, .sample-reason p, .sample-footer { font-size: .86rem; }
.facts dd { font-size: 1.18rem; }
.sample-reason { background: #edf3e5; border-color: #739255; }
.steps { gap: 0; border-block: 1px solid var(--line); }
.steps li { border: 0; border-radius: 0; padding: 1.6rem clamp(1rem,2.5vw,2.4rem); background: transparent; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; }
.steps p, details p { font-size: 1rem; }
.pricing { background: #eaf2d9; }
.pricing .eyebrow, .pricing h2, .pricing p { color: var(--ink); }
.plan-features { margin: 1.5rem 0 0; padding-left: 1.3rem; color: #304c3d; }
.plan-features li { padding-left: .25rem; margin: .35rem 0; }
.pricing-card { background: #153d33; border: 0; padding: clamp(1.5rem,3vw,2.5rem); }
.pricing-card p { color: #dfebe2; }
.pricing-card p + p { margin-top: .9rem; }
.workspace-heading { border-left: .35rem solid #b6d760; padding-left: clamp(1rem,2vw,1.6rem); }
.workspace-heading h1, #workspace-intro { overflow-wrap: anywhere; }
.workspace-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-bottom: 1.2rem; padding-block: .65rem; border-block: 1px solid var(--line); }
.workspace-nav a { font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }
.matches { margin-bottom: 1.25rem; border-top: 4px solid var(--forest); }
.matches-heading { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.matches-heading h2, #preferences h2 { margin: .35rem 0; }
.match-count { color: #214932; background: #e4efcf; border-radius: 1rem; padding: .15rem .65rem; font-size: .875rem; white-space: nowrap; }
#match-list { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit,minmax(min(19rem,100%),1fr)); }
#match-list:not(:empty) { margin-top: 1rem; }
.match-card { background: #f6f8f0; padding: 1rem; border: 1px solid var(--line); border-radius: .45rem; overflow-wrap: anywhere; }
.match-buyer { font-size: .875rem; margin-bottom: .3rem; color: #33573d; }
.match-date { margin-top: .65rem; font-weight: 650; color: var(--ink); }
.match-why, .match-note { margin-block: .6rem; font-size: .92rem; }
.match-apply { margin-top: .85rem; border-top: 1px solid var(--line); }
.match-apply summary { cursor: pointer; min-height: 44px; padding-block: .7rem; font-weight: 650; }
.match-apply p { margin-block: .4rem .7rem; }
.match-apply a { display: flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .18em; }
#linked-tender > h2 { margin: 0 0 .8rem; }
#preferences, #subscription, #matches { scroll-margin-top: .7rem; }
.checkbox-grid .check { border: 1px solid #ccd7ca; border-radius: .4rem; padding: .6rem; min-height: 44px; font-size: .91rem; }
.checkbox-grid { gap: .45rem; }
.checkbox-grid .check:has(input:checked) { background: #edf4e1; border-color: #839b77; }
.billing { background: #eef3e7; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .sample-card { width: 100%; }
}
@media (max-width: 620px) {
  .steps li, .steps li:first-child { padding: 1.15rem 0; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .nav .nav-price { display: none; }
  .hero { padding-block: 2.6rem; }
  .hero-grid { gap: 2.3rem; }
  .hero h1 { font-size: clamp(2.8rem,11vw,3.8rem); }
  .workspace-nav { gap: .3rem 1rem; }
}
.checkout-consent { padding-block: .8rem .35rem; font-size: .94rem; }

[data-account] .workspace-heading{border-left:4px solid var(--green);padding-left:1.25rem}
.workspace-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:.25rem;background:var(--forest);border:0;border-radius:1rem;padding:.5rem;margin-bottom:1.5rem}
.workspace-nav a{justify-content:center;color:white;text-decoration:none;border-radius:.65rem;text-align:center}
.workspace-nav a:hover,.workspace-nav a:focus-visible{background:var(--lime);color:var(--forest)}
[data-account] .panel:target{outline:2px solid var(--green);scroll-margin-top:5rem}
@media(max-width:600px){.workspace-nav{grid-template-columns:repeat(2,1fr)}}
