:root {
  --t6-ink: #172207;
  --t6-green: #a9df59;
  --t6-green-dark: #3a6b0c;
  --t6-band: #f4f6ee;
  --t6-cream: #fafbf7;
  --t6-hairline: #e2e7d8;
  --t6-text: #2d381e;
  --t6-muted: #5c684d;
  --t6-shadow-lift: 0 14px 34px rgba(23, 34, 7, 0.08);
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--t6-text); background-color: #ffffff; line-height: 1.6; }
.t6-container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--t6-ink); line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
@media (max-width: 768px) { h1 { font-size: 2rem; } h2 { font-size: 1.65rem; } h3 { font-size: 1.2rem; } }

.t6-pill {
  display: inline-block;
  background: rgba(169, 223, 89, 0.25);
  color: var(--t6-green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.t6-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.4rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: all 0.2s ease; border: 1px solid transparent; }
.t6-btn-primary { background-color: var(--t6-green); color: var(--t6-ink); box-shadow: 0 4px 12px rgba(169, 223, 89, 0.4); }
.t6-btn-primary:hover { background-color: #9cd449; transform: translateY(-1px); }
.t6-btn-dark { background-color: var(--t6-ink); color: #ffffff; }
.t6-btn-dark:hover { background-color: #24350d; }
.t6-btn-ghost { background: transparent; border-color: var(--t6-hairline); color: var(--t6-ink); }
.t6-btn-ghost:hover { background: var(--t6-band); }

.t6-link-grow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--t6-green-dark); text-decoration: none; transition: gap 0.2s ease; }
.t6-link-grow:hover { gap: 0.6rem; }
.t6-link-grow--on-ink { color: #ffffff; }
.t6-link-grow--on-ink:hover { color: var(--t6-green); }

.t6-section { padding: 5rem 0; }
.t6-band-white { background: #ffffff; }
.t6-band-cream { background: var(--t6-cream); }
.t6-band-ink { background: var(--t6-ink); color: #ffffff; }
.t6-band-subtle { background: var(--t6-band); }

.t6-section-title { margin-bottom: 2.5rem; }
.t6-section-title--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.t6-section-title__lede { color: var(--t6-muted); font-size: 1.05rem; margin-top: 0.5rem; }

.t6-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(23,34,7,0.94) 0%, rgba(23,34,7,0.85) 55%, rgba(23,34,7,0.65) 100%); }
.t6-rating-badge { display: inline-flex; align-items: center; gap: 0.85rem; padding: 0.45rem 1rem 0.45rem 0.55rem; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; }
.t6-avatar-stack { display: flex; }
.t6-avatar-stack img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--t6-ink); margin-left: -8px; object-fit: cover; }
.t6-avatar-stack img:first-child { margin-left: 0; }
.t6-stars { color: #ffc107; display: inline-flex; gap: 2px; }
.t6-checkmark { width: 22px; height: 22px; border-radius: 50%; background: rgba(169,223,89,0.2); color: var(--t6-green-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 0.8rem; }

.t6-trust-strip { background: #ffffff; border-bottom: 1px solid var(--t6-hairline); padding: 1.75rem 0; }
.t6-trust-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.t6-trust-item { display: flex; align-items: center; gap: 0.85rem; }
.t6-trust-item__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--t6-band); color: var(--t6-green-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t6-trust-item__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--t6-muted); font-weight: 600; }
.t6-trust-item__value { font-weight: 700; color: var(--t6-ink); font-size: 0.95rem; }

.t6-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.75rem; }
.t6-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

.t6-card { background: #ffffff; border: 1px solid var(--t6-hairline); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(23,34,7,0.03); transition: all 0.2s ease; display: flex; flex-direction: column; }
.t6-card:hover { transform: translateY(-3px); box-shadow: var(--t6-shadow-lift); border-color: rgba(169,223,89,0.6); }
.t6-card-image { position: relative; width: 100%; overflow: hidden; background: #e9ecef; }
.t6-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.t6-card:hover .t6-card-image img { transform: scale(1.04); }
.t6-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }

.t6-partner-strip { padding: 2rem 0; border-top: 1px solid var(--t6-hairline); border-bottom: 1px solid var(--t6-hairline); }
.t6-partner-strip__grid { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.t6-partner-logo { font-weight: 700; font-size: 1.05rem; color: var(--t6-muted); opacity: 0.8; letter-spacing: 0.05em; text-transform: uppercase; }

.t6-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.t6-pricing-card { background: #ffffff; border: 1px solid var(--t6-hairline); border-radius: 14px; padding: 2.25rem 1.75rem; display: flex; flex-direction: column; position: relative; }
.t6-pricing-card--featured { border: 2px solid var(--t6-green); box-shadow: 0 16px 36px rgba(169,223,89,0.18); }
.t6-pricing-card__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--t6-green); color: var(--t6-ink); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; padding: 0.25rem 0.9rem; border-radius: 999px; }
.t6-pricing-card__name { font-weight: 700; font-size: 1.15rem; color: var(--t6-ink); }
.t6-pricing-card__price { font-weight: 800; font-size: 2.75rem; color: var(--t6-ink); line-height: 1; margin: 0.5rem 0 1.5rem; }
.t6-pricing-card__price small { font-size: 0.9rem; font-weight: 500; color: var(--t6-muted); }
.t6-pricing-card__features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; flex-grow: 1; }
.t6-pricing-card__features li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; }

.t6-process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.t6-process-step { background: #ffffff; border: 1px solid var(--t6-hairline); border-radius: 12px; padding: 2rem 1.5rem; position: relative; }
.t6-process-step__num { font-weight: 800; font-size: 2.25rem; color: var(--t6-green); display: block; margin-bottom: 0.5rem; line-height: 1; }
.t6-process-step__label { font-weight: 700; font-size: 1.15rem; color: var(--t6-ink); margin-bottom: 0.4rem; }

.t6-image-frame { border-radius: 12px; overflow: hidden; background: var(--t6-band); }
.t6-image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.t6-faq-item { border: 1px solid var(--t6-hairline); border-radius: 10px; margin-bottom: 0.75rem; background: #ffffff; overflow: hidden; }
.t6-faq-item summary { padding: 1.15rem 1.25rem; font-weight: 600; font-size: 1.05rem; color: var(--t6-ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.t6-faq-item summary::-webkit-details-marker { display: none; }
.t6-faq-content { padding: 0 1.25rem 1.25rem; color: var(--t6-text); font-size: 0.95rem; line-height: 1.6; }

.t6-form-group { margin-bottom: 1.1rem; }
.t6-form-label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--t6-ink); }
.t6-input, .t6-select, .t6-textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--t6-hairline); border-radius: 8px; font-family: inherit; font-size: 0.95rem; color: var(--t6-ink); background: #ffffff; }
.t6-input:focus, .t6-select:focus, .t6-textarea:focus { outline: none; border-color: var(--t6-green-dark); }
.t6-drawer { display: none; }
.t6-drawer.is-open { display: block; }

/* Sticky Floating Call & Quote Badges */
.t6-floating-cta {
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.t6-floating-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 10px 12px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.t6-floating-btn:hover {
  transform: translateX(-4px);
}
.t6-floating-btn--call {
  background: var(--t6-green);
  color: var(--t6-ink);
}
.t6-floating-btn--quote {
  background: var(--t6-ink);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
}
/* ============================================================
   Responsive rules
   ============================================================ */

/* Global overflow guards */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
table { display: block; overflow-x: auto; max-width: 100%; }

/* Blog article styling (used by the blog pages) */
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article p { margin-bottom: 1.1rem; }
.blog-article h2 { margin: 2.25rem 0 0.75rem; }
.blog-article h3 { margin: 1.5rem 0 0.5rem; }
.blog-article ul, .blog-article ol { margin: 0 0 1.1rem 1.25rem; }
.blog-article li { margin-bottom: 0.5rem; }
.blog-article img { border-radius: 12px; height: auto; }
.t6-hr-green { border: none; border-top: 3px solid var(--t6-green); width: 64px; margin: 0.75rem 0 1.25rem; }
.t6-muted { color: var(--t6-muted); }
.t6-toc { background: var(--t6-band); border: 1px solid var(--t6-hairline); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.blog-toc-link { display: block; padding: 0.35rem 0; color: var(--t6-green-dark); text-decoration: none; font-size: 0.95rem; }
.blog-toc-link:hover { text-decoration: underline; }

/* ---- Tablet and below ---- */
@media (max-width: 1023px) {
  .t6-section { padding: 3.25rem 0; }
  .t6-container { padding-left: 1rem; padding-right: 1rem; }

  /* Header must fit the screen */
  header > .t6-container { gap: 0.6rem !important; }
  header > .t6-container > a img { height: 36px !important; max-width: 170px !important; }
  header .t6-btn-primary { padding: 0.6rem 0.85rem; font-size: 0.88rem; }
  .t6-nav-toggle { flex: 0 0 auto; }

  /* Floating rail becomes a bottom bar so it cannot overflow */
  .t6-floating-cta {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
  }
  .t6-floating-btn {
    flex: 1 1 50%;
    justify-content: center;
    border-radius: 0;
    padding: 13px 10px;
    box-shadow: none;
  }
  .t6-floating-btn:hover { transform: none; }
  .t6-floating-btn--quote { border: none; border-left: 1px solid rgba(255,255,255,0.15); }
  body { padding-bottom: 52px; }

  .t6-nav-panel { display: none; }
}

/* ---- Phones ---- */
@media (max-width: 560px) {
  /* Phone number text would push the header off screen; the bottom bar covers calling */
  header .t6-btn-primary span { display: none; }
  header .t6-btn-primary { padding: 0.6rem 0.7rem; }
  header > .t6-container > a img { max-width: 200px !important; }

  .t6-section { padding: 2.5rem 0; }
  .t6-section-title { margin-bottom: 1.75rem; }
  .t6-pricing-card { padding: 1.75rem 1.25rem; }
  .t6-card-body { padding: 1.25rem; }
  .t6-rating-badge { flex-wrap: wrap; }
}

/* Mobile CTA bar (used by the blog and legacy pages) */
.t6-btn { max-width: 100%; }
header .t6-btn { white-space: nowrap; }
/* Desktop: right-side rail, matching .t6-floating-cta on the rest of the site */
.t6-mobile-cta {
  display: flex;
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.t6-mobile-cta a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 10px 12px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.t6-mobile-cta__call { background: var(--t6-green); color: var(--t6-ink); }
.t6-mobile-cta__quote { background: var(--t6-ink); color: #ffffff; border: 1px solid rgba(255,255,255,0.15); border-right: none; }
@media (max-width: 1023px) {
  .t6-mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    flex-direction: row;
    gap: 0;
    z-index: 999;
  }
  .t6-mobile-cta a {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0;
    box-shadow: none;
  }
  .t6-mobile-cta__call { background: var(--t6-green); color: var(--t6-ink); }
  .t6-mobile-cta__quote { background: var(--t6-ink); color: #ffffff; border-left: 1px solid rgba(255,255,255,0.15); }
}

/* Long CTA buttons must wrap rather than run off small screens */
@media (max-width: 640px) {
  .t6-btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .t6-band-ink .t6-btn-primary,
  .t6-band-ink .t6-btn-dark {
    width: 100%;
  }
}
