/* Homepage sales sections in the native web system. Class names are the
   original ones (tests and tracking depend on them); only the look changed. */

.home-section { padding-block: var(--s-16) 0; }
.home-micro { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tc-muted); margin-bottom: var(--s-2); }
.home-section-title { font-size: var(--tc-fs-section); line-height: 1.1; }
.home-pain-sub, .home-how-sub, .home-industries-sub { margin-top: var(--s-2); color: var(--tc-muted); max-width: 40rem; }

/* Pro strip: the cleaner upsell straight after the free tool */
.home-pro-strip-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; padding: var(--s-10) var(--s-12); border-radius: var(--r-xl); background: linear-gradient(135deg, #f3edfc, #fdeeea); }
.home-pro-strip-title { font-size: var(--tc-fs-section); line-height: 1.1; }
.home-pro-strip-sub { margin-top: var(--s-3); color: var(--tc-ink-soft); max-width: 30rem; }
.home-pro-strip-side { display: grid; gap: var(--s-5); justify-items: start; }
.home-pro-strip-list { display: grid; gap: var(--s-2); }
.home-pro-strip-list li { position: relative; padding-left: var(--s-8); font-weight: 600; }
.home-pro-strip-list li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 22px; height: 22px; border-radius: 50%; background: var(--tc-lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* The old ink band, now a calm sage statement panel */
.home-band-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-8); align-items: center; padding: var(--s-12); border-radius: var(--r-xl); background: linear-gradient(150deg, #f1f6ed, #e1eada); position: relative; overflow: hidden; }
.home-giant { font-size: clamp(2.25rem, 1.2rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.home-band .sub { margin-top: var(--s-4); color: var(--tc-ink-soft); max-width: 40rem; }
.home-band .ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.home-band-art { width: auto; height: 220px; }
.btn-cream { background: var(--tc-sage-btn); color: #fff; box-shadow: 0 6px 16px rgba(74, 102, 67, 0.2); }
.btn-cream:hover { background: var(--tc-sage-btn-hover); transform: translateY(-1px); }
.btn-line { background: rgba(255, 255, 255, 0.75); color: var(--tc-ink); border-color: var(--tc-border-strong); }
.btn-line:hover { background: #fff; transform: translateY(-1px); }
.btn-solid { background: var(--tc-lavender); color: #fff; box-shadow: var(--sh-btn); }
.btn-solid:hover { background: var(--tc-lavender-hover); transform: translateY(-1px); box-shadow: var(--sh-btn-hover); }

/* What TidyCheck does: five cards, free to paid */
.home-features-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.home-feature-card { padding: var(--s-6); border-radius: var(--r-lg); background: var(--tc-surface); border: 1px solid var(--tc-border); box-shadow: var(--sh-rest); }
.home-feature-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.home-feature-mark { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--tc-lavender-soft); color: var(--tc-lavender-ink); }
.home-feature-mark svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.home-feature-tier { padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); background: var(--tc-sage-soft); color: var(--tc-sage-ink); font-size: 0.75rem; font-weight: 700; }
.home-feature-tier.is-paid { background: var(--tc-lavender-soft); color: var(--tc-lavender-ink); }
.home-feature-card h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.home-feature-card p { font-size: 0.875rem; color: var(--tc-ink-soft); }

/* Sound familiar? */
.home-pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.home-pain-card { padding: var(--s-6); border-radius: var(--r-lg); }
.home-pain-card:nth-child(1) { background: linear-gradient(150deg, #fff3f1, #f8dfdc); }
.home-pain-card:nth-child(2) { background: linear-gradient(150deg, #f6f2fd, #e9e2f8); }
.home-pain-card:nth-child(3) { background: linear-gradient(150deg, #fffaee, #f7ebd5); }
.home-pain-card:nth-child(4) { background: linear-gradient(150deg, #f3f7ef, #e3ecdc); }
.home-pain-card h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.home-pain-card p { font-size: 0.9375rem; color: var(--tc-ink-soft); }

/* Up and running */
.home-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); counter-reset: how; }
.home-how-step { padding: var(--s-6); border-radius: var(--r-lg); background: var(--tc-surface); border: 1px solid var(--tc-border); box-shadow: var(--sh-rest); }
.home-how-num { width: 44px; height: 44px; margin-bottom: var(--s-4); border-radius: 50%; display: grid; place-items: center; background: var(--tc-lavender); color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.home-how-step h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.home-how-step p { font-size: 0.9375rem; color: var(--tc-ink-soft); }

/* Every type of clean */
.home-industries-grid { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.home-industry-tag { padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--tc-surface); border: 1px solid var(--tc-border-strong); font-size: 0.875rem; font-weight: 600; color: var(--tc-ink-soft); }

/* Closing card sits apart from the FAQ */
.home .closing { margin-top: var(--s-16); }

/* Questions */
.home-faq-title { font-size: var(--tc-fs-section); line-height: 1.1; }
.home-faq-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); }
.faq-row { padding: var(--s-6); border-radius: var(--r-lg); background: var(--tc-surface); border: 1px solid var(--tc-border); }
.faq-row h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.faq-row p { font-size: 0.9375rem; color: var(--tc-ink-soft); }

@media (max-width: 1439px) { .home-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1099px) {
  .home-pro-strip-in, .home-band-in { grid-template-columns: 1fr; padding: var(--s-8); }
  .home-band-art { display: none; }
  .home-pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .home-features-grid, .home-pain-grid, .home-how-grid, .home-faq-rows { grid-template-columns: 1fr; }
  .home-pro-strip-in, .home-band-in { padding: var(--s-6); border-radius: var(--r-lg); }
  .home-band .ctas .btn-cream, .home-band .ctas .btn-line, .home-pro-strip-side .btn-solid { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .btn-cream:hover, .btn-line:hover, .btn-solid:hover { transform: none; } }
