/* Homepage spacing polish for the public sales page. */
.homepage-hero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(38px, 6vw, 72px);
}

.homepage-signup-band {
  width: min(1600px, calc(100% - clamp(32px, 5vw, 96px)));
  margin: clamp(14px, 2.5vw, 28px) auto clamp(30px, 5vw, 54px);
}

.homepage-page-nav {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(217, 224, 232, 0.7);
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
}

.homepage-page-nav-inner {
  width: min(1600px, calc(100% - clamp(32px, 5vw, 96px)));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.homepage-page-nav-inner span,
.homepage-page-nav-inner a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid #d3dee9;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(23, 50, 77, 0.04);
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.homepage-page-nav-inner span {
  background: var(--teal-soft);
  border-color: #aed8cf;
  color: var(--teal);
}

.homepage-page-nav-inner a:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.homepage-page-nav-inner .homepage-page-nav-cta {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.homepage-page-nav-inner .homepage-page-nav-cta:hover {
  background: #0b2238;
  color: #ffffff;
}

.homepage-hero h1 {
  margin: 0 0 clamp(18px, 2vw, 28px);
  line-height: 1.02;
}

.homepage-hero .homepage-kicker {
  margin: 0 0 18px;
}

.homepage-hero > div > p:not(.homepage-kicker) {
  margin-top: 0;
}

.homepage-cost-section {
  width: min(1600px, calc(100% - clamp(32px, 5vw, 96px)));
  margin-top: clamp(34px, 5vw, 68px);
  margin-bottom: clamp(34px, 5vw, 56px);
  align-items: center;
}

.homepage-cost-section h2 {
  margin-bottom: 16px;
}

.cost-warning-list {
  align-content: start;
}

.homepage-trust {
  margin-top: clamp(24px, 4vw, 42px);
}

.homepage-trust p {
  margin-top: 0;
  margin-bottom: 14px;
}

.homepage-proof-strip {
  width: min(1280px, calc(100% - clamp(32px, 5vw, 96px)));
  margin-top: 18px;
  margin-bottom: clamp(24px, 4vw, 36px);
  padding: 14px clamp(18px, 3vw, 30px);
  border-radius: 18px;
  line-height: 1.45;
}

.homepage-grid {
  padding-top: clamp(24px, 4vw, 44px);
}

/* Removed because this repeated the value proposition and weakened the page flow. */
.homepage-grid {
  display: none !important;
}

/* Remove the old standalone CTA button that appears below the final email capture band. */
.homepage-center-action {
  display: none !important;
}

/* Stack the final email capture CTA so the button belongs to the form, not as a loose extra button. */
.homepage-signup-band .homepage-email-form {
  grid-template-columns: minmax(0, 1fr);
  width: min(520px, 100%);
  gap: 12px;
}

.homepage-signup-band .homepage-email-form button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.homepage-seo-guides {
  width: min(1600px, calc(100% - clamp(32px, 5vw, 96px)));
  margin: clamp(38px, 5vw, 64px) auto clamp(34px, 5vw, 56px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 42px);
  box-shadow: 0 18px 48px rgba(30, 45, 65, 0.07);
}

.homepage-seo-guides h2 {
  margin-bottom: 10px;
}

.homepage-seo-guides p {
  margin-bottom: 0;
}

.seo-guide-links {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.seo-guide-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: normal;
}

.homepage-conversion-section,
.homepage-risk-assessment,
.homepage-proof-cards,
.homepage-pricing-value-anchor {
  width: min(1600px, calc(100% - clamp(32px, 5vw, 96px)));
  margin: clamp(34px, 5vw, 64px) auto;
  border-radius: 12px;
}

.homepage-risk-assessment {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #c8d7e4;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(30, 45, 65, 0.07);
}

.assessment-copy h2 {
  max-width: 760px;
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.3vw, 3.15rem);
  line-height: 1.04;
}

.assessment-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.58;
}

.assessment-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 12px;
  background: linear-gradient(135deg, #07111f 0%, #17324d 100%);
  color: #ffffff;
}

.assessment-step {
  display: grid;
  gap: 8px;
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
}

.assessment-step legend {
  padding: 0;
  margin-bottom: 4px;
  color: #ffffff;
  font-weight: 950;
}

.assessment-step label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dbe7ef;
  line-height: 1.35;
  cursor: pointer;
}

.assessment-step input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--teal);
}

.assessment-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--navy);
  padding: 18px;
}

.assessment-result span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.assessment-result strong {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.08;
}

.assessment-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.assessment-result[data-state="low"] strong {
  color: var(--green);
}

.assessment-result[data-state="moderate"] strong {
  color: var(--amber);
}

.assessment-result[data-state="high"] strong {
  color: var(--red);
}

.assessment-result .primary-link {
  justify-content: center;
  text-align: center;
  margin-top: 6px;
}

.homepage-conversion-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #c8d7e4;
  background: linear-gradient(135deg, #ffffff 0%, #eef8f6 100%);
  box-shadow: 0 18px 48px rgba(30, 45, 65, 0.07);
}

.homepage-xero-warning-gap {
  margin-top: clamp(30px, 4.5vw, 58px);
}

.conversion-copy h2 {
  max-width: 820px;
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.5vw, 3.25rem);
  line-height: 1.04;
}

.conversion-copy p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.58;
}

.conversion-copy .primary-link {
  display: inline-flex;
  margin-top: 12px;
}

.conversion-copy blockquote {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.conversion-checklist,
.credibility-list {
  display: grid;
  gap: 12px;
}

.conversion-checklist article,
.credibility-list article {
  border: 1px solid #d7e3ec;
  border-radius: 10px;
  background: #ffffff;
  padding: 16px 18px;
}

.conversion-checklist strong,
.credibility-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.conversion-checklist strong::before,
.tool-stack span::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 950;
}

.conversion-checklist span,
.credibility-list span {
  color: var(--muted);
  line-height: 1.45;
}

.conversion-note {
  margin: 2px 0 0;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 900;
}

.homepage-accountant-credibility {
  background: #07111f;
  border-color: rgba(255, 255, 255, 0.16);
}

.homepage-accountant-credibility h2,
.homepage-accountant-credibility .conversion-copy p {
  color: #ffffff;
}

.homepage-accountant-credibility .conversion-copy p {
  color: #cbd5e1;
}

.homepage-proof-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 24px);
}

.homepage-proof-cards article {
  min-height: 100%;
  border: 1px solid #c8d7e4;
  border-radius: 12px;
  background: #ffffff;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 18px 48px rgba(30, 45, 65, 0.07);
}

.homepage-proof-cards strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}

.homepage-proof-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tool-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tool-stack span,
.tool-stack strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
}

.tool-stack span {
  border: 1px solid #aed8cf;
  background: #ffffff;
  color: var(--teal);
}

.tool-stack strong {
  flex-basis: 100%;
  max-width: 680px;
  border: 1px solid #c8d7e4;
  border-radius: 12px;
  background: var(--navy);
  color: #ffffff;
  line-height: 1.35;
}

.homepage-pricing-value-anchor {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #aed8cf;
  background: var(--teal-soft);
  color: var(--navy);
  text-align: center;
}

.homepage-pricing-value-anchor span {
  color: var(--teal);
  font-weight: 950;
}

.homepage-pricing-value-anchor strong {
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.15;
}

.homepage-pricing-value-anchor p {
  max-width: 760px;
  margin: 0 auto;
  color: #275f59;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .homepage-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .homepage-cost-section,
  .homepage-risk-assessment,
  .homepage-conversion-section,
  .homepage-proof-cards,
  .homepage-seo-guides {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .homepage-page-nav-inner {
    width: calc(100% - 24px);
    gap: 8px;
    padding: 10px 0;
  }

  .homepage-page-nav-inner span,
  .homepage-page-nav-inner a {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.9rem;
  }

  .homepage-cost-section,
  .homepage-risk-assessment,
  .homepage-conversion-section,
  .homepage-proof-strip,
  .homepage-proof-cards,
  .homepage-pricing-value-anchor,
  .homepage-seo-guides {
    width: calc(100% - 24px);
  }

  .homepage-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .homepage-proof-strip {
    padding: 14px 16px;
  }

  .assessment-card {
    grid-template-columns: 1fr;
  }
}

.signup-email-help {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(0, 121, 107, 0.22);
  border-radius: 10px;
  background: rgba(226, 247, 241, 0.75);
  color: #17324d;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.signup-email-help strong {
  color: #006d5b;
}
/* Removed homepage sections requested during final page cleanup. */
.homepage-explainer,
.homepage-next-steps,
.homepage-copy-section,
.homepage-trust,
.homepage-proof-strip,
.homepage-problem-strip {
  display: none !important;
}
