/* Saasup search pages (trades, Toronto, Google listings, insights).
   Sits on top of home.css + website/website.css. Same type floors: reading >= 16px, labels >= 14px. */

.sp-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; font: 500 14px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.sp-crumbs a:hover { color: var(--ink); }
.sp-crumbs span[aria-hidden] { opacity: .5; }
.sp-hero h1 { max-width: 14ch; }
.sp-hero .website-lead { max-width: 46ch; }
.sp-hero-note { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Section heads reuse .sec-head + .h2. Body copy under a heading */
.sp-intro { max-width: 60ch; margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.sp-intro a, .sp-prose a, .sp-faq a, .sp-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14, 14, 15, .35); }
.sp-intro a:hover, .sp-prose a:hover, .sp-faq a:hover, .sp-note a:hover { text-decoration-color: var(--accent); }
.sp-note { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 70ch; }

/* What you get: a two-column checklist */
.sp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(24px, 4vw, 44px); }
.sp-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.sp-list li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E0E0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.sp-list strong { display: block; font-weight: 500; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.25; }
.sp-list span { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); }

/* Dark panel intro text */
.panel .sp-intro { color: rgba(255, 255, 255, .7); }

/* FAQ */
.sp-faq { margin-top: clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.sp-faq details { border-top: 1px solid var(--line); }
.sp-faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.3; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--sans); color: var(--muted); transition: transform .25s var(--ease); }
.sp-faq details[open] summary::after { transform: rotate(45deg); }
.sp-faq .sp-a { max-width: 68ch; padding: 0 0 24px; font-size: 17px; color: var(--muted); }
.sp-faq .sp-a p + p { margin-top: 10px; }

/* Hub cards */
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(24px, 4vw, 44px); }
.sp-card { display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .2s, transform .25s var(--ease); }
.sp-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.sp-card small { font: 500 14px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.sp-card h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 500; line-height: 1.15; }
.sp-card p { font-size: 16px; color: var(--muted); }
.sp-card .go { margin-top: auto; font-size: 15px; font-weight: 500; }

/* Articles */
.sp-article { max-width: 760px; }
.sp-meta { margin-top: 18px; font-size: 15px; color: var(--muted); }
.sp-answer { margin-top: clamp(28px, 4vw, 40px); padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); font-size: clamp(17px, 1.5vw, 19px); }
.sp-answer strong { font-weight: 600; }
.sp-prose { margin-top: clamp(36px, 5vw, 56px); font-size: 18px; line-height: 1.6; }
.sp-prose h2 { margin: clamp(44px, 6vw, 64px) 0 14px; font: 500 clamp(26px, 3vw, 36px)/1.1 var(--sans); letter-spacing: -.035em; }
.sp-prose h3 { margin: 28px 0 8px; font-size: 21px; font-weight: 500; line-height: 1.25; }
.sp-prose p { margin: 0 0 16px; }
.sp-prose ul, .sp-prose ol { margin: 0 0 18px; padding-left: 1.3em; }
.sp-prose ul { list-style: disc; }
.sp-prose li { margin-bottom: 8px; }
.sp-prose li::marker { color: var(--accent); }
.sp-prose strong { font-weight: 600; }
.sp-prose .sp-template { margin: 8px 0 20px; padding: 20px 22px; border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--white); font: 400 16px/1.6 var(--mono); white-space: pre-line; }
.sp-table-wrap { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.sp-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.sp-table-wrap th, .sp-table-wrap td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sp-table-wrap th { font-weight: 600; background: rgba(14, 14, 15, .03); }
.sp-table-wrap tr:last-child td { border-bottom: 0; }
.sp-sources { margin-top: 28px; font-size: 15px; color: var(--muted); }
.sp-sources a { text-decoration: underline; text-underline-offset: 3px; }

/* One CTA box inside articles */
.sp-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 32px; margin: clamp(40px, 6vw, 64px) 0 0; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--ink); color: var(--white); }
.sp-cta h2 { font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.03em; }
.sp-cta p { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .7); }

/* Related reading */
.sp-related { margin-top: clamp(48px, 7vw, 80px); }
.sp-related .sp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Footer form for the listing mock-up */
.foot .sp-form-note { margin: 4px 0 0; font-size: 15px; color: rgba(255, 255, 255, .6); }

@media (max-width: 900px) {
  .sp-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .sp-list, .sp-cards, .sp-related .sp-cards { grid-template-columns: 1fr; }
  .sp-cta { grid-template-columns: 1fr; }
  .sp-cta .btn { width: 100%; }
  .sp-card { min-height: 0; }
  .sp-prose { font-size: 17px; }
}
.sp-hero .sp-article-h1 { max-width: none; font: 500 clamp(36px, 5.4vw, 68px)/1.02 var(--sans); letter-spacing: -.045em; }
