/* The public home page. Tokens, type, buttons and the snow live in intake.css (sn-*, fx-*);
   everything here is page-specific. */

/* Hero */
.home-hero { position: relative; isolation: isolate; background: #d3eadf; overflow: hidden; padding: 56px 0 72px; }
.home-hero-body { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.home-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.home-hero-copy .lede { max-width: 540px; }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.home-hero-photo { flex: 1 1 380px; min-width: 0; }
.home-hero-photo img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(20, 40, 40, .45); }
.home-trust { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.home-trust li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--sn-text); }
.home-trust svg { flex: none; color: var(--sn-blue); }
@media (max-width: 640px) { .home-hero { padding: 36px 0 48px; } }

/* Sections */
.home-section { padding: 72px 0; }
.home-section-tint { background: #fff; }
.home-section-dark { background: var(--sn-ink); color: #d9dee6; }
.home-section-dark .lede { color: #b9c0cc; }
.branded .home-section-dark h2, .branded .home-section-dark h3 { color: #fff; }
.home-section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
@media (max-width: 640px) { .home-section { padding: 48px 0; } }

/* How it works */
.home-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.home-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 28px 92px; background: #fff; border: 1px solid var(--sn-line); border-radius: 12px; }
.home-step h3 { font-size: 1.45rem; }
.home-step p { margin: 0; }
.home-step .sn-btn { align-self: flex-start; margin-top: 6px; }
.home-step-number { position: absolute; left: 28px; top: 28px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--sn-tint); color: var(--sn-blue); font-family: "Caliste", Georgia, serif; font-style: italic; font-size: 26px; line-height: 1; }
@media (max-width: 640px) { .home-step { padding: 24px; } .home-step-number { position: static; } }

/* Examples and quotes */
.home-examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.home-example { display: flex; flex-direction: column; overflow: hidden; }
.home-example-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sn-tint); }
.home-example-body { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.home-example h3 { font-size: 1.25rem; }
.home-example-needs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.home-need { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 8px; background: var(--sn-cream); text-decoration: none; }
.home-need:hover { background: var(--sn-tint); }
.home-need-name { font-weight: 500; font-size: 15px; color: var(--sn-ink); }
.home-need-meter { display: block; height: 6px; border-radius: 999px; background: var(--sn-line-strong); overflow: hidden; }
.home-need-meter i { display: block; height: 100%; background: var(--sn-blue); }
.home-need-amount { font-size: 12.5px; color: var(--sn-muted); }
.home-examples-empty p { margin: 0; }
.home-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.home-quote { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-left: 3px solid var(--sn-blue-light); background: var(--sn-cream); border-radius: 0 12px 12px 0; }
.home-quote p { margin: 0; font-family: "Caliste", Georgia, serif; font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--sn-ink); }
.home-quote footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.home-quote footer b { font-weight: 500; color: var(--sn-ink); }

/* Why */
.home-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.home-pillar { display: flex; flex-direction: column; gap: 12px; }
.home-pillar h3 { font-size: 1.35rem; }
.home-pillar p { margin: 0; }
.home-pillar-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--sn-tint); color: var(--sn-blue); }

/* Compare */
.home-compare { display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; overflow: hidden; }
.home-compare-row { display: grid; grid-template-columns: 180px 1.3fr 1fr; gap: 0; }
.home-compare-row > * { padding: 18px 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.home-compare-row > :not(:first-child) { border-left: 1px solid rgba(255, 255, 255, .12); }
.home-compare-head > * { border-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .06); }
.home-compare-row b { font-weight: 500; color: #fff; }
.home-compare-row .is-ours { display: flex; gap: 10px; align-items: flex-start; color: #fff; background: rgba(24, 138, 236, .14); }
.home-compare-row .is-ours svg { flex: none; margin-top: 4px; color: var(--sn-blue-light); }
.home-compare-row .is-theirs { color: #aeb6c3; }
@media (max-width: 760px) {
  .home-compare-head { display: none; }
  .home-compare-row { grid-template-columns: 1fr; }
  .home-compare-row > :not(:first-child) { border-left: 0; }
  .home-compare-row b { padding-bottom: 6px; border-top: 2px solid rgba(255, 255, 255, .18); }
  .home-compare-row .is-ours::before { content: "SupportNow"; }
  .home-compare-row .is-theirs::before { content: "Amazon"; }
  .home-compare-row .is-ours::before, .home-compare-row .is-theirs::before { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
  .home-compare-row .is-ours { flex-direction: column; gap: 4px; }
  .home-compare-row .is-ours svg { display: none; }
}

/* Partner logos */
.home-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.home-logos li { flex: 1 1 150px; max-width: 200px; }
.home-logos a { display: flex; align-items: center; justify-content: center; height: 84px; padding: 16px; background: #fff; border: 1px solid var(--sn-line); border-radius: 10px; }
.home-logos img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .15s ease, opacity .15s ease; }
.home-logos a:hover img { filter: none; opacity: 1; }

/* FAQ */
.home-faq { display: flex; flex-direction: column; gap: 10px; }
.home-faq-item { background: var(--sn-cream); border: 1px solid var(--sn-line); border-radius: 10px; padding: 0 20px; }
.home-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; color: var(--sn-ink); }
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary svg { flex: none; color: var(--sn-muted); transition: transform .15s ease; }
.home-faq-item[open] summary svg { transform: rotate(180deg); }
.home-faq-item p { margin: 0; padding: 0 0 18px; max-width: 760px; }

/* Closing */
.home-close { position: relative; isolation: isolate; background: #d3eadf; padding: 128px 0; text-align: center; }
.home-close-line { display: block; }
@media (max-width: 640px) { .home-close { padding: 80px 0; } .home-close-line { display: inline; } }
.home-close-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.home-close .home-hero-cta { justify-content: center; }
