:root {
  color-scheme: light;
  --ink: #0d1b24;
  --ink-soft: #29414e;
  --muted: #657783;
  --paper: #f6faf8;
  --white: #ffffff;
  --line: #dce7e1;
  --teal: #0f766e;
  --teal-dark: #0b514c;
  --amber: #d9902f;
  --sand: #f8f1e7;
  --mist: #edf6f2;
  --shadow: 0 22px 70px rgba(13, 27, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  color: var(--white);
}

.admin-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(13, 27, 36, 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: 850;
  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: 22px;
  font-size: 0.95rem;
}

.nav-links a {
  opacity: 0.84;
}

.nav-links a:hover {
  opacity: 1;
}

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

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

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: end;
  padding: 126px clamp(20px, 5vw, 72px) 70px;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 27, 36, 0.93), rgba(13, 27, 36, 0.78) 44%, rgba(13, 27, 36, 0.25)),
    linear-gradient(180deg, rgba(13, 27, 36, 0.14), rgba(13, 27, 36, 0.72));
}

.hero-content {
  position: relative;
  width: min(920px, 100%);
}

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

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

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

.hero h1 {
  max-width: 880px;
  font-size: clamp(3rem, 6.6vw, 6.2rem);
  line-height: 0.98;
}

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

.hero-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;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 36px rgba(15, 118, 110, 0.28);
}

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary-dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.full {
  width: 100%;
}

.builder-note {
  display: inline-block;
  max-width: 780px;
  margin: 26px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.45;
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.cred-strip div {
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px clamp(20px, 3vw, 42px);
  background: var(--white);
}

.cred-strip strong {
  font-size: 1.12rem;
}

.cred-strip span {
  color: var(--muted);
  line-height: 1.5;
}

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

.split,
.how-section,
.deliverable,
.onboarding-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.split {
  background: var(--white);
}

.section h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  line-height: 1.02;
}

.body-copy {
  display: grid;
  gap: 18px;
}

.body-copy p,
.onboarding-copy p,
.admin-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.capabilities {
  background: var(--mist);
}

.section-heading {
  max-width: 930px;
  margin-bottom: 34px;
}

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

.capability-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid #d6e3dd;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 38px rgba(13, 27, 36, 0.06);
}

.capability-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.capability-grid h3 {
  margin: 26px 0 12px;
  font-size: 1.3rem;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.problems {
  background: var(--white);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.problem-list div {
  min-height: 104px;
  padding: 20px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 780;
  line-height: 1.35;
}

.how-section {
  background: var(--ink);
  color: var(--white);
}

.how-section .section-kicker {
  color: #92e5d8;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 760;
}

.steps span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
}

.deliverable {
  background: var(--sand);
}

.deliverable-card,
.onboarding-form,
.admin-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(13, 27, 36, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.deliverable-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverable-card li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.deliverable-card li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  content: "✓";
  color: var(--teal);
  font-weight: 900;
}

.onboarding-section {
  background: var(--white);
}

.onboarding-copy p {
  max-width: 620px;
  margin: 20px 0 0;
}

.small-note {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfdfc;
}

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

.form-assist {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: #e9f8f4;
}

.form-assist h3,
.form-subgrid h4 {
  margin: 0;
}

.form-assist p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

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

.preset-button {
  min-height: 42px;
  border: 1px solid rgba(15, 118, 110, 0.38);
  border-radius: 7px;
  color: var(--teal-dark);
  background: var(--white);
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}

.preset-button:hover {
  background: #d9f2eb;
}

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

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-soft);
  font-weight: 780;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.16);
}

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

.form-block {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.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: var(--white);
  background: var(--teal);
  font-weight: 850;
}

.form-block-heading h3,
.intake-summary h3 {
  margin: 0;
  font-size: 1.15rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.onboarding-form label,
.onboarding-form fieldset,
.admin-card label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 780;
}

.onboarding-form fieldset {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.onboarding-form legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 850;
}

.onboarding-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 680;
  line-height: 1.35;
}

.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 legend {
  padding: 0 8px;
  font-weight: 850;
}

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

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

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

.option-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid.compact.single {
  grid-template-columns: 1fr;
}

.option-grid label,
.choice-row label {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 720;
  line-height: 1.35;
}

.option-grid.cards label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.option-grid.cards label span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 520;
}

.option-grid label:has(input:checked),
.choice-row label:has(input:checked) {
  border-color: rgba(15, 118, 110, 0.54);
  background: #e9f8f4;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.form-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-subgrid > div {
  display: grid;
  gap: 10px;
}

.form-subgrid h4 {
  color: var(--ink);
  font-size: 1rem;
}

.intake-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.26);
  border-radius: 8px;
  background: #e9f8f4;
}

.intake-summary p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  white-space: pre-line;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.14);
  border-color: var(--teal);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note,
.success-note {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.form-note {
  color: var(--muted);
}

.success-note {
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 7px;
  color: var(--teal-dark);
  background: #e5f7f1;
  font-weight: 780;
}

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

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

.footer strong,
.footer a {
  color: var(--white);
}

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

.footer-links {
  justify-items: end;
}

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

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

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

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

.admin-intro p {
  max-width: 760px;
  margin-top: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.admin-card h2 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

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

.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: #fbfdfc;
}

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

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

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .cred-strip,
  .split,
  .how-section,
  .deliverable,
  .onboarding-section,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .problem-list,
  .option-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header,
  .admin-header {
    padding: 14px 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 18px 44px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.15rem);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 27, 36, 0.93), rgba(13, 27, 36, 0.62)),
      linear-gradient(180deg, rgba(13, 27, 36, 0.16), rgba(13, 27, 36, 0.82));
  }

  .button {
    width: 100%;
  }

  .cred-strip,
  .capability-grid,
  .problem-list,
  .form-row,
  .onboarding-form fieldset,
  .admin-focus,
  .preset-row,
  .form-subgrid,
  .option-grid.cards,
  .option-grid.compact,
  .choice-row,
  .admin-actions {
    grid-template-columns: 1fr;
  }

  .section,
  .admin-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer,
  .lead-log-heading {
    display: grid;
  }

  .footer-links {
    justify-items: start;
  }
}
