:root {
  color-scheme: light;
  --ink: #102821;
  --ink-2: #1d3a34;
  --muted: #667873;
  --paper: #f4f7f3;
  --panel: #ffffff;
  --line: #dce5dd;
  --green: #166c54;
  --green-dark: #0f4b3b;
  --blue: #275d8b;
  --amber: #c98728;
  --clay: #a6533a;
  --shadow: 0 24px 70px rgba(16, 40, 33, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header,
.admin-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
}

.admin-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(16, 40, 33, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 760;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
}

.nav-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .nav-tab-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 7px;
  color: #fff;
  font-weight: 850;
}

.nav-cta.dark {
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 118px clamp(20px, 5vw, 72px) 54px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 40, 33, 0.96), rgba(16, 40, 33, 0.82) 45%, rgba(16, 40, 33, 0.44)),
    linear-gradient(180deg, rgba(16, 40, 33, 0.18), rgba(16, 40, 33, 0.82));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.hero-copy-block {
  max-width: 920px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: #b8ddd2;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-kicker {
  color: var(--green);
}

.hero h1,
.section h2,
.onboarding-copy h2,
.admin-intro h1 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.15rem, 7.1vw, 6.9rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-weight: 880;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 40px rgba(22, 108, 84, 0.28);
}

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

.button.ghost,
.button.secondary-dark {
  color: inherit;
  border-color: rgba(16, 40, 33, 0.2);
  background: rgba(255, 255, 255, 0.76);
}

.hero .button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.button.full {
  width: 100%;
}

.proof-line {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.workflow-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #69d99b;
  box-shadow: 0 0 0 6px rgba(105, 217, 155, 0.18);
}

.agent-flow {
  display: grid;
  gap: 10px;
}

.agent-flow div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 10px;
  padding: 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.agent-flow span {
  grid-row: span 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: #d9efe6;
  font-size: 0.8rem;
  font-weight: 900;
}

.agent-flow small {
  color: rgba(255, 255, 255, 0.74);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-bar div {
  display: grid;
  gap: 4px;
  padding: 22px clamp(20px, 4vw, 52px);
  background: #fff;
}

.trust-bar strong {
  font-size: 1.02rem;
}

.trust-bar span {
  color: var(--muted);
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section h2,
.onboarding-copy h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.agent-grid,
.pain-grid,
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.agent-grid article,
.pain-grid article,
.blueprint-grid article,
.review-grid div,
.process-row div,
.deliverable-card,
.form-assist,
.core-form,
.form-block,
.intake-summary,
.blueprint-preview,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(16, 40, 33, 0.06);
}

.agent-grid article {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 20px;
}

.pain-grid article {
  display: grid;
  gap: 12px;
  min-height: 238px;
  padding: 20px;
  border-left: 4px solid var(--clay);
}

.blueprint-grid article {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #fff;
}

.agent-grid article > span {
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.pain-grid article > span {
  display: grid;
  width: 46px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
}

.agent-grid h3,
.pain-grid h3,
.blueprint-grid h3,
.form-assist h3,
.form-block h3,
.intake-summary h3,
.blueprint-preview h3,
.admin-card h2 {
  margin: 0;
  font-size: 1.16rem;
}

.agent-grid p,
.pain-grid p,
.review-grid p,
.process-row p,
.onboarding-copy p,
.form-note,
.small-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pain-section {
  background: #fff;
}

.solution-section {
  background: #f1f6f8;
}

.blueprint-section {
  background: #fff;
}

.section-heading.wide {
  max-width: 1020px;
}

.section-heading.wide p {
  max-width: 880px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.solution-table {
  display: grid;
  gap: 10px;
}

.solution-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 40, 33, 0.05);
}

.solution-row strong {
  color: var(--green-dark);
  font-size: 1.08rem;
}

.solution-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.blueprint-grid dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.blueprint-grid dl div {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.blueprint-grid dt {
  color: var(--green);
  font-weight: 900;
}

.blueprint-grid dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.review-band {
  display: grid;
  gap: 28px;
  background: #eaf2ed;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-grid div,
.process-row div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.review-grid strong,
.process-row strong {
  font-size: 1.08rem;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-row span {
  color: var(--green);
  font-weight: 900;
}

.onboarding-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 86px clamp(20px, 5vw, 72px);
  background: #fff;
}

.workflow-review-section {
  scroll-margin-top: 82px;
}

.onboarding-copy {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.onboarding-form,
.admin-card {
  display: grid;
  gap: 16px;
}

.review-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f1;
}

.review-tab {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 880;
  cursor: pointer;
}

.review-tab.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(22, 108, 84, 0.2);
}

.review-tab-panel {
  display: grid;
  gap: 16px;
  animation: panelIn 180ms ease both;
}

.review-tab-panel[hidden] {
  display: none;
}

.tab-panel-heading {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 40, 33, 0.06);
}

.tab-panel-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.tab-panel-heading h3 {
  margin: 0;
  font-size: 1.24rem;
}

.tab-panel-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.tab-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-assist,
.core-form,
.form-block,
.intake-summary,
.blueprint-preview,
.admin-card {
  padding: 18px;
}

.core-form {
  display: grid;
  gap: 16px;
  border-color: rgba(22, 108, 84, 0.28);
  background: #f7fbf8;
}

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

.onboarding-form label,
.admin-card label,
.form-block label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  letter-spacing: 0;
}

textarea {
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: auto;
}

.preset-row,
.option-grid {
  display: grid;
  gap: 10px;
}

.preset-row {
  grid-template-columns: repeat(4, 1fr);
}

.preset-button {
  min-height: 42px;
  border: 1px solid rgba(22, 108, 84, 0.28);
  border-radius: 7px;
  color: var(--green-dark);
  background: #edf7f1;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.progress-wrap {
  display: grid;
  gap: 8px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9e5df;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--green);
  transition: width 160ms ease;
}

.option-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.tile-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tile-options label {
  display: grid;
  gap: 5px;
  min-height: 122px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tile-options input {
  justify-self: start;
}

.tile-options span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.form-block-heading {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.form-block-heading > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.form-block-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.advanced-audit {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.advanced-audit > summary {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 18px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.advanced-audit > summary::-webkit-details-marker {
  display: none;
}

.advanced-audit > summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 18px;
  color: var(--green);
  font-size: 1.4rem;
}

.advanced-audit[open] > summary::after {
  content: "-";
}

.advanced-audit small {
  color: var(--muted);
  font-weight: 600;
}

.advanced-audit .form-block {
  margin: 0 18px 18px;
}

.intake-summary,
.blueprint-preview {
  background: #f9fbfa;
}

.intake-summary p,
.blueprint-preview p {
  margin: 8px 0 0;
  color: var(--muted);
  white-space: pre-wrap;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.admin-body {
  background: var(--paper);
}

.admin-main {
  padding: 112px clamp(20px, 5vw, 72px) 70px;
}

.admin-intro {
  max-width: 900px;
  margin-bottom: 28px;
}

.admin-intro h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.admin-intro p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.outreach-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.outreach-guide div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
}

.outreach-guide span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.outreach-guide strong {
  line-height: 1.25;
}

.outreach-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-card {
  background: #fff;
}

.admin-focus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-focus label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.email-rules {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(39, 93, 139, 0.22);
  border-radius: 8px;
  background: #f4f8fb;
}

.email-rules label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink-2);
  font-weight: 760;
}

.lead-log-card {
  margin-top: 18px;
}

.lead-log-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.lead-log {
  display: grid;
  gap: 10px;
}

.lead-log article,
.lead-log p {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f9fbfa;
}

.lead-log article {
  display: grid;
  gap: 4px;
}

.lead-log span,
.lead-log small {
  color: var(--muted);
}

.text-action {
  width: max-content;
  border: 0;
  padding: 0;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .onboarding-section,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .workflow-panel,
  .onboarding-copy {
    position: static;
  }

  .agent-grid,
  .pain-grid,
  .blueprint-grid,
  .review-grid,
  .process-row,
  .outreach-guide {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header,
  .admin-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .trust-bar,
    .agent-grid,
    .pain-grid,
    .blueprint-grid,
    .review-grid,
    .process-row,
    .form-row,
  .form-subgrid,
  .preset-row,
    .review-tabs,
    .tab-panel-heading,
    .tile-options,
    .outreach-guide,
    .admin-focus {
    grid-template-columns: 1fr;
  }

  .solution-row {
    grid-template-columns: 1fr;
  }

  .section,
  .onboarding-section,
  .admin-main {
    padding-block: 56px;
  }

  .footer {
    display: grid;
  }
}
