:root {
  --bg: #ffffff;
  --ink: #111716;
  --muted: #5f6a67;
  --line: #d9e2de;
  --soft: #f4f8f6;
  --soft-2: #edf5f1;
  --accent: #127966;
  --accent-dark: #0c5f51;
  --graphite: #26302d;
  --warning-bg: #fff8e6;
  --warning-line: #e5bd52;
  --shadow: 0 24px 80px rgba(20, 41, 35, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -48px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 72px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 760;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  background:
    linear-gradient(90deg, var(--accent), var(--accent)) 8px 6px / 15px 3px no-repeat,
    linear-gradient(90deg, var(--accent), var(--accent)) 8px 13px / 21px 3px no-repeat,
    linear-gradient(90deg, var(--accent), var(--accent)) 8px 20px / 12px 3px no-repeat,
    #eaf6f2;
  border: 1px solid #b8dcd2;
  border-radius: 6px;
  display: inline-block;
  height: 32px;
  width: 38px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-dark);
}

.hero-section {
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 72px);
  padding: 38px 24px 74px;
}

.hero-copy {
  align-self: start;
  min-width: 0;
  padding-top: clamp(20px, 8vh, 78px);
}

.hero-copy h1 {
  font-size: clamp(42px, 5.5vw, 74px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 30px;
  max-width: 820px;
  overflow-wrap: break-word;
}

.hero-copy h1 span {
  display: block;
}

.hero-lede {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
  max-width: 660px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary,
.form-button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus,
.form-button:hover,
.form-button:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.quiet-note {
  color: var(--muted);
  font-size: 14px;
  margin: 18px 0 0;
  max-width: 560px;
}

.signup-panel {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 28px;
  scroll-margin-top: 96px;
}

.form-copy h2 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.form-copy p {
  color: var(--muted);
  margin: 0 0 20px;
}

.setup-warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-line);
  border-radius: 7px;
  color: #6b5112;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 18px;
  padding: 12px;
  overflow-wrap: anywhere;
}

.setup-warning code {
  overflow-wrap: anywhere;
}

.setup-warning.is-ready {
  background: #eefaf5;
  border-color: #9cd6c5;
  color: #155b4d;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.quick-capture-form {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 20px;
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form label span {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 720;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  appearance: none;
  background: #fff;
  border: 1px solid #cbd8d3;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(18, 121, 102, 0.16);
}

.lead-form textarea {
  resize: vertical;
}

.honeypot {
  left: -9999px;
  position: absolute;
}

.consent-row {
  align-items: start;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 18px 1fr;
  margin-top: 4px;
}

.consent-row input {
  height: 18px;
  margin: 2px 0 0;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.consent-row span {
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.form-button {
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.form-status {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  min-height: 19px;
}

.full-intake-details {
  margin-top: 18px;
}

.full-intake-details summary {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 760;
  list-style-position: inside;
  padding: 12px;
}

.full-intake-details summary:hover,
.full-intake-details summary:focus {
  border-color: var(--accent);
}

.full-intake-details > p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 16px;
}

.full-intake-details .lead-form {
  margin-top: 14px;
}

.post-submit-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 18px;
  padding: 16px;
}

.post-submit-panel h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.post-submit-panel p {
  color: var(--muted);
  margin: 0 0 14px;
}

.post-submit-actions {
  display: grid;
  gap: 10px;
}

.visual-band {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 36px 24px;
}

.visual-wrap {
  margin: 0 auto;
  max-width: 1180px;
}

.visual-wrap img {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(17, 23, 22, 0.12);
  object-fit: cover;
  width: 100%;
}

.content-section,
.proof-section,
.method-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 86px 24px;
}

.proof-section {
  background: #fff;
  max-width: none;
}

.proof-section .section-head,
.proof-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.method-section {
  border-top: 1px solid var(--line);
}

.section-head {
  align-items: end;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.55fr);
  margin-bottom: 42px;
}

.section-head,
.control-grid,
.proof-list,
.method-steps,
.site-footer,
.nav-links {
  min-width: 0;
}

p,
h1,
h2,
h3,
label,
span {
  overflow-wrap: break-word;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  margin: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.control-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.control-grid article,
.proof-list article,
.method-steps li {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 24px;
}

.control-grid article h3,
.proof-list article h3,
.method-steps h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.control-grid article p,
.proof-list article p,
.method-steps p {
  color: var(--muted);
  margin: 0;
}

.price-number {
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 12px !important;
}

.proof-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-list article {
  background: #fff;
}

.proof-label {
  color: var(--accent-dark) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px !important;
  text-transform: uppercase;
}

.method-steps {
  counter-reset: steps;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.method-steps li {
  background: var(--soft-2);
}

.method-steps span {
  color: var(--accent-dark);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 40px;
}

.site-footer {
  align-items: start;
  background: var(--ink);
  color: #fff;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 34px 24px;
}

.site-footer > div {
  max-width: 560px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0 0;
}

.site-footer a {
  color: #d8fff4;
}

@media (max-width: 900px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero-grid,
  .section-head,
  .control-grid,
  .proof-list,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 58px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-copy {
    padding-top: 0;
  }

  .signup-panel {
    max-width: 100%;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-grid,
  .content-section,
  .proof-section,
  .method-section,
  .visual-band,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1 {
    font-size: 35px;
    line-height: 1.08;
  }

  .hero-copy,
  .signup-panel {
    max-width: 354px;
    width: 100%;
  }

  .hero-lede {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .form-copy h2 {
    font-size: 23px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signup-panel {
    padding: 20px;
  }
}
