/* Buyer Led Representation — styles.css */

:root {
  --cream: #FBF5EC;
  --cream-tint: #F3E9D9;
  --terracotta: #C1704F;
  --terracotta-deep: #A45F43; /* darkened for AA-contrast text/buttons; --terracotta stays for large decorative text per brand palette */
  --terracotta-light: #E4B49B;
  --sage: #8B9A6B;
  --sage-light: #DCE3CF;
  --royal-purple: #5D3FA3;
  --royal-purple-light: #EEE7F8;
  --charcoal: #3E3630;
  --warm-gray: #6D6359; /* darkened slightly from brand #7A6F63 to clear 4.5:1 on cream-tint */
  --line: #E5DACB;

  --radius: 10px;
  --shadow: 0 4px 16px rgba(62, 54, 48, 0.08);
  --shadow-lg: 0 8px 28px rgba(62, 54, 48, 0.12);

  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta-deep);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw + 1rem, 2.35rem); }
h3 { font-size: 1.15rem; }

p {
  margin: 0 0 1em;
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-alt {
  background: var(--cream-tint);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-header p {
  color: var(--warm-gray);
  font-size: 1.05rem;
}

/* Focus states — accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracotta-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.9rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--terracotta-deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #8f5138;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta-deep);
  border-color: var(--terracotta);
}

.btn-secondary:hover {
  background: var(--terracotta-light);
  color: var(--charcoal);
}

.btn-block {
  width: 100%;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 236, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand span {
  color: var(--terracotta-deep);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.92rem;
}

/* Hero */
.hero {
  padding: 3.5rem 1.25rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero p.subhead {
  font-size: 1.15rem;
  color: var(--warm-gray);
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sage-light);
  color: #4c5539;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.price-callout {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: #fff;
  border: 2px solid var(--terracotta-light);
  border-radius: var(--radius);
  padding: 1rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.price-callout .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--terracotta);
}

.price-callout .label {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* Persona cards */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .persona-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.persona-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.persona-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.persona-icon svg {
  width: 24px;
  height: 24px;
  color: #4c5539;
}

.persona-card h3 {
  margin-bottom: 0.4rem;
}

.persona-card p {
  color: var(--warm-gray);
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* What's included comparison */
.compare-category {
  margin-bottom: 1.5rem;
}

.compare-category:last-child {
  margin-bottom: 0;
}

.compare-category-title {
  text-align: center;
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin: 0 0 0.6rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--terracotta);
}

.compare-card.client {
  border-top-color: var(--sage);
}

.compare-card h4 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--terracotta-deep);
}

.compare-card.client h4 {
  color: #5f6d45; /* darkened sage for AA-contrast text on white */
}

.compare-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.compare-card li {
  font-size: 0.95rem;
  line-height: 1.5;
}

.compare-card li::marker {
  color: var(--terracotta-deep);
}

.compare-card.client li::marker {
  color: #5f6d45;
}

/* Limited-time price highlight */
.price-original {
  text-decoration: line-through;
  color: var(--warm-gray);
  font-weight: 600;
}

.price-highlight {
  background: var(--royal-purple);
  color: #fff;
  border-radius: 6px;
  padding: 0.05em 0.4em;
}

.limited-badge {
  display: inline-block;
  background: var(--royal-purple-light);
  color: var(--royal-purple);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Pricing */
.pricing-card {
  background: #fff;
  border: 2px solid var(--terracotta-light);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.amount-row .price-original {
  font-size: 1.5rem;
}

.pricing-card .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
}

.pricing-card .amount.price-highlight {
  color: #fff;
  border-radius: 10px;
}

.pricing-card .amount-label {
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

.addons {
  display: grid;
  gap: 0.75rem;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.addon-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.97rem;
}

.addon-row .addon-price {
  font-weight: 700;
  color: var(--charcoal);
}

.pricing-note {
  text-align: center;
  color: var(--warm-gray);
  font-size: 0.9rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.savings-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .savings-compare {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.savings-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.savings-box.traditional {
  border: 1px solid var(--line);
}

.savings-box.flatfee {
  border: 2px solid var(--sage);
  background: var(--sage-light);
}

.savings-box .savings-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}

.savings-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.savings-amount-row .price-original {
  font-size: 1rem;
}

.savings-box .savings-amount {
  font-size: 1.6rem;
  font-weight: 800;
}

.savings-box .savings-amount.price-highlight {
  color: #fff;
  border-radius: 8px;
}

.savings-vs {
  text-align: center;
  font-weight: 700;
  color: var(--warm-gray);
  font-size: 0.9rem;
}

.savings-result {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sage);
  background: none;
}

.savings-result span {
  color: #4c5539;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta-deep);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
}

.step-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.step-card p {
  color: var(--warm-gray);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Client dashboard */
.dashboard-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .dashboard-showcase {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }
}

.dashboard-text .eyebrow {
  display: inline-block;
}

.dashboard-text h2 {
  margin-bottom: 0.6rem;
}

.dashboard-text > p {
  color: var(--warm-gray);
  font-size: 1.05rem;
}

.dashboard-feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.dashboard-feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.dashboard-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.dashboard-feature-list h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.dashboard-feature-list p {
  color: var(--warm-gray);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.dashboard-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.dashboard-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2880 / 2000;
  object-fit: cover;
  object-position: top;
}

/* Credibility strip */
.credibility {
  background: var(--charcoal);
  color: var(--cream);
}

.credibility .section-header p {
  color: #cfc7bc;
}

.cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 720px) {
  .cred-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cred-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cred-item .cred-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--terracotta-light);
  margin-bottom: 0.3rem;
}

.cred-item .cred-label {
  color: #cfc7bc;
  font-size: 0.9rem;
}

/* Lead form */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--charcoal);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--terracotta);
}

.form-note {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-top: 1rem;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--sage);
  margin: 0 auto 1rem;
}

.form-success h3 {
  margin-bottom: 0.4rem;
}

.form-error {
  background: #fdecea;
  border: 1px solid #e4a29a;
  color: #8a3a2e;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.hidden {
  display: none !important;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--charcoal);
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.35rem 1.1rem;
  color: var(--warm-gray);
  font-size: 0.97rem;
}

/* Footer */
.site-footer {
  background: var(--cream-tint);
  border-top: 1px solid var(--line);
  padding: 3rem 1.25rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--charcoal);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--terracotta-deep);
}

.footer-col p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--warm-gray);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Utility */
.text-center { text-align: center; }

@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
}
