/* Client Discovered — site styles
   Layout: left-aligned editorial grid, 1120px container, generous whitespace.
   Palette: cool mist ground, deep spruce brand, one warm clay accent. */
:root {
  --bg: #F4F7F6;
  --surface: #FFFFFF;
  --surface-2: #E9EFED;
  --ink: #16262B;
  --muted: #55676D;
  --line: #D6E0DD;
  --brand: #1F4F48;
  --brand-deep: #143833;
  --brand-soft: #DCE9E5;
  --accent: #C9814F;
  --accent-soft: #F7E8DC;
  --focus: #2E7D70;

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 2rem;
  --step-4: 2.6rem;
  --step-5: clamp(2.5rem, 2rem + 2.6vw, 3.9rem);

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(22, 38, 43, 0.06), 0 12px 32px -16px rgba(22, 38, 43, 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.55; max-width: 36em; }
.measure { max-width: 62ch; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1 var(--font-body);
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-soft); color: var(--brand-deep); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }
.site-nav .btn { margin-left: 0.5rem; padding: 0.7rem 1.1rem; font-size: 0.95rem; }
.site-nav .btn[aria-current="page"] { box-shadow: none; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.5rem max(20px, env(safe-area-inset-left, 0px)) 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav .btn { margin: 0.9rem 0 0; border-bottom: none; justify-content: center; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-brand { background: var(--brand-deep); color: #fff; }
.band-brand h2, .band-brand h3, .band-brand p { color: #fff; }
.band-brand .lede, .band-brand .muted { color: rgba(255,255,255,0.78); }
.band-brand .eyebrow { color: #E7B48F; }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; }
.hero-copy h1 { max-width: 13em; }
.hero-note { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: var(--step--1); }
.hero-note span::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 0.4rem; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.75rem; display: grid; gap: 1.1rem;
}
.hero-card h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
.channel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.channel-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start;
  padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
}
.channel-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-top: 0.5rem; }
.channel-list .dot.accent { background: var(--accent); }
.channel-list strong { display: block; font-weight: 600; }
.channel-list span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Grids & cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; display: grid; gap: 0.75rem; align-content: start; min-width: 0;
}
.card h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
.card p { color: var(--muted); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.card .icon svg { width: 22px; height: 22px; }
.card-link { font-weight: 600; text-decoration: none; margin-top: 0.25rem; }
.card-link::after { content: " →"; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.pillar { display: grid; gap: 0.6rem; min-width: 0; }
.pillar h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
.pillar p { color: var(--muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Process steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; display: grid; gap: 0.6rem; padding-top: 1.25rem; border-top: 2px solid var(--line); min-width: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: var(--step-2); color: var(--accent); line-height: 1;
}
.step h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 34rem; } }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; display: grid; gap: 1.25rem; align-content: start; min-width: 0; position: relative;
}
.plan.is-featured { border-color: var(--brand); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -0.8rem; left: 1.5rem;
  background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.plan-name { font-family: var(--font-body); font-weight: 600; font-size: var(--step-1); }
.plan-for { color: var(--muted); font-size: var(--step--1); }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; font-variant-numeric: tabular-nums; }
.plan-price strong { font-family: var(--font-display); font-size: var(--step-4); font-weight: 500; line-height: 1; }
.plan-price span { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.plan li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 700; line-height: 1.6; }
.plan li.plus { font-weight: 600; }
.plan li.plus::before { content: "+"; color: var(--accent); }
.plan .btn { width: 100%; }
.pricing-notes { display: grid; gap: 0.5rem; margin-top: 2rem; color: var(--muted); font-size: var(--step--1); max-width: 62ch; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--step--1); }
th, td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 600; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: none; }
td.yes { color: var(--brand); font-weight: 700; }
td.no { color: var(--line); }
th:first-child, td:first-child { font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 46rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.1rem; color: var(--muted); }

/* About */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: grid; gap: 1rem; min-width: 0; }
.founder-photo {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-soft), var(--surface-2));
  display: grid; place-items: center; color: var(--brand); font-size: var(--step--1); font-weight: 500; border: 1px dashed var(--line);
}
.founder-role { color: var(--accent); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.04em; text-transform: uppercase; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value { display: grid; gap: 0.4rem; min-width: 0; padding-left: 1rem; border-left: 3px solid var(--accent); }
.value h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
.value p { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 0.75rem 0.9rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { color: var(--muted); font-size: var(--step--1); }
.form-success { background: var(--brand-soft); color: var(--brand-deep); border-radius: var(--radius); padding: 1rem 1.1rem; }
.hp { position: absolute; left: -9999px; }

.scheduler { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.scheduler-head { padding: 1.5rem 1.75rem 0; display: grid; gap: 0.5rem; }
.scheduler-embed { min-height: 640px; position: relative; }
.scheduler-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem;
  background: repeating-linear-gradient(135deg, var(--bg) 0 12px, var(--surface) 12px 24px);
}
.scheduler-fallback p { color: var(--muted); max-width: 32ch; margin-inline: auto; }
.scheduler-embed:has(iframe) .scheduler-fallback { display: none; }
.contact-details { display: grid; gap: 1.25rem; }
.contact-details dl { display: grid; gap: 0.9rem; margin: 0; }
.contact-details dt { font-weight: 600; font-size: var(--step--1); color: var(--muted); }
.contact-details dd { margin: 0; }

/* CTA band */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; color: var(--ink); }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; color: var(--muted); font-size: var(--step--1); }

/* Page intro */
.page-intro { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); display: grid; gap: 1.25rem; max-width: 48rem; }

/* Two column text block */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .sticky { position: sticky; top: 96px; }
.prose { display: grid; gap: 1rem; max-width: 62ch; }
.prose p { color: var(--ink); }
.prose p.muted { color: var(--muted); }
.service-block { display: grid; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:first-of-type { border-top: none; padding-top: 0; }
.service-block ul { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: 0.35rem; }
.service-nav { display: grid; gap: 0.25rem; }
.service-nav a { text-decoration: none; color: var(--muted); padding: 0.5rem 0.75rem; border-left: 2px solid var(--line); }
.service-nav a:hover { color: var(--brand); border-left-color: var(--brand); }

/* Form status messages */
.form-error { background: var(--accent-soft); color: #7A3E1D; border-radius: var(--radius); padding: 1rem 1.1rem; }
