/* SmartSell public-site visual system: luminous SaaS, grounded in the brand green. */
:root {
  --ss-ink: #100020;
  --ss-ink-2: #24064d;
  --ss-green: #6420f4;
  --ss-green-bright: #8f4cff;
  --ss-mint: #f2ebff;
  --ss-paper: #fbfaff;
  --ss-line: #e5dcf7;
  --ss-text: #251044;
  --ss-muted: #6c607d;
}

html { scroll-behavior: smooth; }
body.public-page { background: var(--ss-paper); color: var(--ss-text); }
body.public-page :is(a, button, input, summary):focus-visible { outline: 3px solid rgba(157,108,255,.55); outline-offset: 4px; }

/* Shared glass navigation */
body.public-page .top-nav {
  position: sticky; top: 0; z-index: 1000; padding: 0 24px;
  background: rgba(20,2,47,.94); border-color: rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.04); backdrop-filter: blur(20px);
}
body.public-page .nav-inner { max-width: 1200px; min-height: 74px; }
body.public-page .logo { color: #f4fff9; font-size: 18px; letter-spacing: -.03em; }
body.public-page .logo-icon { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 28px rgba(125,47,255,.22); }
body.public-page .nav-links a { color: #b9cbc5; font-weight: 600; }
body.public-page .nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
body.public-page .nav-links a.is-active { color: var(--ss-mint); background: rgba(125,47,255,.15); box-shadow: inset 0 0 0 1px rgba(157,108,255,.22); }
body.public-page .nav-links .nav-cta,
body.public-page .nav-links .install-link {
  color: #5514d2 !important; background: #fff;
  border-radius: 10px; box-shadow: 0 12px 30px rgba(35,0,100,.2);
}
body.public-page .nav-links .nav-cta:hover,
body.public-page .nav-links .install-link:hover { background: #eee5ff; color: #3e0ca9 !important; }

/* Hero language shared by the four marketing surfaces */
body.public-page :is(.hero, .about-hero, .blog-hero, .page-hero, .article-hero) {
  position: relative; isolation: isolate; overflow: hidden; color: #f7fffb;
  background:
    radial-gradient(ellipse 55% 45% at 50% 110%, rgba(135,61,255,.45), transparent 66%),
    radial-gradient(circle at 12% 8%, rgba(108,32,235,.24), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(65,13,155,.3), transparent 38%),
    linear-gradient(135deg, #17002f 0%, #210542 48%, #110022 100%);
  border-color: rgba(232,220,255,.12);
}
body.public-page :is(.hero, .about-hero, .blog-hero, .page-hero, .article-hero)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .38;
  background-image: radial-gradient(circle, rgba(222,255,243,.75) 0 1px, transparent 1.5px);
  background-size: 96px 96px; mask-image: linear-gradient(to bottom, transparent 8%, #000 46%, transparent 92%);
}
body.public-page :is(.about-hero h1, .blog-hero h1, .page-hero h1, .article-hero h1) {
  color: #f8fffc; letter-spacing: -.055em; font-weight: 700;
}
body.public-page :is(.about-hero p, .blog-hero p, .page-hero p, .article-desc, .article-meta) { color: #acc2ba; }
body.public-page :is(.eyebrow, .meta-badge, .breadcrumb) { color: #8ff3d5; }

/* Homepage: centered statement with a glowing product window beneath it */
body.public-page--home .hero { padding: 84px 24px 54px; }
body.public-page--home .hero-inner { max-width: 1100px; display: flex; flex-direction: column; gap: 0; align-items: center; }
body.public-page--home .hero-copy { max-width: 850px; text-align: center; }
body.public-page--home .hero-badge {
  display: inline-flex; padding: 8px 14px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 24px rgba(255,255,255,.04);
}
body.public-page--home .hero h1 { max-width: 850px; margin-inline: auto; color: #fff; font-size: clamp(48px, 7.2vw, 92px); line-height: .96; font-weight: 680; letter-spacing: -.065em; }
body.public-page--home .hero h1 span { color: #fff; text-shadow: 0 0 30px rgba(255,255,255,.2); }
body.public-page--home .hero-copy > p { max-width: 680px; margin: 0 auto 30px; color: #e6dcfb; font-size: 18px; line-height: 1.75; }
body.public-page--home .hero-actions { justify-content: center; }
body.public-page .btn-primary,
body.public-page--about .primary-btn { background: #fff; color: #5815d8; border: 0; box-shadow: 0 14px 40px rgba(39,0,107,.24); border-radius: 10px; }
body.public-page .btn-primary:hover,
body.public-page--about .primary-btn:hover { background: #f0e7ff; color: #3e0ca9; transform: translateY(-2px); }
body.public-page--home .btn-secondary { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
body.public-page--home .btn-secondary:hover { background: rgba(255,255,255,.11); border-color: rgba(211,255,239,.42); }
body.public-page--home .hero-tour { color: #e5daf8; }
body.public-page--home .hero-stats { max-width: 680px; margin: 30px auto 0; border-color: rgba(255,255,255,.2); }
body.public-page--home .stat-num { color: #f0fff8; }
body.public-page--home .stat-label { color: #d9cbf4; }
body.public-page--home .product-preview { width: min(880px, 100%); transform: none; padding: 12px; border-color: rgba(210,184,255,.25); background: rgba(149,91,255,.1); box-shadow: 0 35px 100px rgba(0,0,0,.36), 0 0 80px rgba(109,40,243,.18); }
body.public-page--home .product-preview-bar { color: #91b9ad; }
body.public-page--home .sample-store { box-shadow: 0 15px 50px rgba(0,0,0,.18); }
body.public-page--home .sample-note { color: #88a69c; }
body.public-page--home .integration-strip { border-color: rgba(255,255,255,.18); }
body.public-page--home .integration-strip > span { color: #d9cbf4; }
body.public-page--home .integration-names { color: #fff; }

/* Marketing content rhythm and cards */
body.public-page--home section:not(.hero):not(.cta-section) { background: var(--ss-paper); }
body.public-page--home .preview-section { background: #fff !important; }
body.public-page--home .section-label { color: var(--ss-green); }
body.public-page--home .section-title { color: var(--ss-text); letter-spacing: -.045em; }
body.public-page--home :is(.feature-icon, .sample-choice.is-selected) { color: #6727d8; background: #f0e8ff; border-color: #cdb5f6; }
body.public-page--home :is(.sample-progress span, .sample-choice.is-selected span, .plan-btn.filled) { color: #fff; background: #7029ed; border-color: #7029ed; }
body.public-page--home :is(.step-num, .seo-answer a, .pricing-table .check, .blog-preview-kicker, .blog-preview-link) { color: #6d28f3; }
body.public-page--home .plan-btn.outline { color: #5b21b6; border-color: #cdb5f6; }
body.public-page--home :is(.feature-card, .doc-card, .seo-answer, .blog-preview-card, .pricing-table-wrap) {
  border-color: var(--ss-line); border-radius: 16px; box-shadow: 0 16px 50px rgba(7,23,19,.055);
}
body.public-page--home .blog-preview-card img { width: 100%; aspect-ratio: 3 / 2; height: auto; max-height: none; object-fit: contain; object-position: center; background: #f4f0fb; }
body.public-page--home :is(.feature-card, .doc-card, .seo-answer, .blog-preview-card):hover { border-color: #bea4ef; box-shadow: 0 24px 65px rgba(80,28,166,.11); }
body.public-page--home .cta-section { background: linear-gradient(135deg, #1b0338, #361071); box-shadow: 0 30px 80px rgba(28,4,66,.24); }
body.public-page--home .cta-section .btn-primary { color: #5915d7; background: #fff; border-color: transparent; }
body.public-page--home .welcome-quiz-launch__button { background: linear-gradient(135deg, #852fff, #5316e4) !important; box-shadow: 0 10px 28px rgba(109,40,243,.25) !important; }
body.public-page--home .reviews-section { background: #f7f3ff !important; border-block: 1px solid #e8def7; }
body.public-page--home .reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
body.public-page--home .reviews-heading .section-sub { max-width: 720px; margin-bottom: 0; }
body.public-page--home .reviews-shopify-link { color: #6424cf; font-weight: 750; white-space: nowrap; }
body.public-page--home .reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.public-page--home .review-card-home { padding: 28px; background: #fff; border: 1px solid #e2d7f4; border-radius: 18px; box-shadow: 0 18px 50px rgba(47,15,96,.07); }
body.public-page--home .review-stars { color: #7c2cff; letter-spacing: .12em; font-size: 17px; margin-bottom: 18px; }
body.public-page--home .review-card-home h3 { color: #281342; font-size: 19px; margin-bottom: 9px; }
body.public-page--home .review-card-home p { color: #665c72; line-height: 1.7; }
body.public-page--home .review-source { color: #877b94; font-size: 12px; font-weight: 700; margin-top: 18px; text-transform: uppercase; letter-spacing: .05em; }
body.public-page--home .app-review-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 28px; background: #fff; border: 1px solid #e2d7f4; border-radius: 18px; box-shadow: 0 18px 50px rgba(47,15,96,.07); }
body.public-page--home .app-review-mark { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #812cff, #4d12d8); border-radius: 15px; font-size: 23px; font-weight: 850; box-shadow: 0 12px 28px rgba(100,32,244,.24); }
body.public-page--home .app-review-status { display: block; color: #6d28f3; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
body.public-page--home .app-review-copy h3 { color: #281342; font-size: 21px; margin-bottom: 6px; }
body.public-page--home .app-review-copy p { color: #665c72; line-height: 1.65; }
body.public-page--home .app-review-action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 17px; color: #fff; background: #5d20d4; border-radius: 10px; font-weight: 750; white-space: nowrap; }
body.public-page--home .reviews-install { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 22px 24px; color: #fff; background: linear-gradient(135deg, #210545, #43158a); border-radius: 16px; }
body.public-page--home .reviews-install strong,
body.public-page--home .reviews-install span { display: block; }
body.public-page--home .reviews-install strong { font-size: 18px; }
body.public-page--home .reviews-install span { color: #ebdfff; margin-top: 3px; }

/* About */
body.public-page--about { background: var(--ss-paper); }
body.public-page--about .about-hero { padding: 86px 24px 76px; }
body.public-page--about .eyebrow { background: rgba(125,47,255,.11); border-color: rgba(190,153,255,.26); }
body.public-page--about .about-hero h1 span { color: var(--ss-green-bright); }
body.public-page--about .secondary-btn { color: #def8ee; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
body.public-page--about .social-link { color: #dfcfff; background: rgba(125,47,255,.11); border-color: rgba(190,153,255,.22); }
body.public-page--about .profile-card,
body.public-page--about .about-cta { background: linear-gradient(145deg, #210442, #411386); border: 1px solid rgba(173,124,255,.22); box-shadow: 0 30px 80px rgba(31,5,72,.22); }
body.public-page--about :is(.service-card, .review-card, .skill-card) { border-color: var(--ss-line); box-shadow: 0 16px 44px rgba(7,23,19,.055); }
body.public-page--about :is(.service-card, .review-card, .skill-card):hover { border-color: #bea4ef; box-shadow: 0 24px 60px rgba(109,40,243,.12); }
body.public-page--about .service-list li { color: #5b21b6; background: #f1eaff; border-color: #ddcefa; }

/* Blog index and articles */
body.public-page--blog { background: var(--ss-paper); }
body.public-page--blog .blog-hero { padding: 86px 24px 68px; }
body.public-page--blog .blog-hero h1 { max-width: 920px; font-size: clamp(44px, 6vw, 78px); }
body.public-page--blog .blog-hero p { font-size: 18px; }
body.public-page--blog .direct-answer { border-color: var(--ss-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(7,23,19,.06); }
body.public-page--blog .keyword-strip span { color: #5b21b6; background: #f1eaff; border-color: #ddcefa; }
body.public-page--blog .post-card { border-color: var(--ss-line); border-radius: 18px; box-shadow: 0 18px 48px rgba(7,23,19,.07); }
body.public-page--blog .post-card:hover { border-color: #bea4ef; box-shadow: 0 26px 70px rgba(109,40,243,.13); }
body.public-page--blog :is(.post-kicker, .read-link, .related a, .breadcrumb) { color: var(--ss-green); }
body.public-page--blog .blog-cta,
body.public-page--blog .article-cta { background: linear-gradient(135deg, #210442, #411386); }
body.public-page--blog :is(.blog-cta a, .article-cta a) { background: #9b5cff; color: #fff; border-radius: 10px; }
body.public-page--blog .article-hero { padding-top: 78px; }
body.public-page--blog .post-card img { width: 100%; aspect-ratio: 3 / 2; height: auto; max-height: none; object-fit: contain; object-position: center; background: #f4f0fb; }
body.public-page--blog .hero-image { max-width: 860px; border-color: rgba(190,153,255,.25); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
body.public-page--blog .hero-image img { width: 100%; aspect-ratio: 3 / 2; height: auto; max-height: none; object-fit: contain; object-position: center; background: #f4f0fb; }
body.public-page--blog .keyword-note { color: #5b21b6; background: #f3edff; border-color: #dac8fa; }

/* Documentation */
body.public-page--docs { --primary: var(--ss-green); --purple: #22a98d; background: var(--ss-paper); }
body.public-page--docs .page-hero { padding: 82px 24px 68px; }
body.public-page--docs .page-hero h1 { font-size: clamp(44px, 6vw, 76px); }
body.public-page--docs .search-wrap input { color: #f6f0ff; background: rgba(255,255,255,.075); border-color: rgba(190,153,255,.3); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
body.public-page--docs .search-wrap input::placeholder { color: #8ca79e; }
body.public-page--docs .search-wrap span { color: #8ff3d5; }
body.public-page--docs .sidebar nav a:hover { background: #e7f5f0; color: var(--ss-green); }
body.public-page--docs .doc-section { border-color: var(--ss-line); border-radius: 16px; box-shadow: 0 16px 48px rgba(7,23,19,.055); }
body.public-page--docs .icon { color: var(--ss-green); background: #f1eaff; }
body.public-page--docs .meta-badge { color: #5b21b6; background: #eadfff; }
body.public-page--docs .step::before { background: linear-gradient(135deg, #7c2cff, #5320d9); }
body.public-page--docs .contact-card { background: linear-gradient(135deg, #210442, #411386); }
body.public-page--docs .contact-btn { color: #fff; background: #8c43fa; box-shadow: none; }

/* Footer */
body.public-page .site-footer--simple { background: #120026; border-color: rgba(255,255,255,.1); }
body.public-page .site-footer--marketing { background: #120026; border-color: rgba(255,255,255,.1); }
body.public-page .simple-footer-brand .logo-mark { background: var(--ss-green); }
body.public-page .simple-footer-links { background: transparent !important; }
body.public-page .simple-footer-links a:hover { color: var(--ss-green-bright); }

@media (max-width: 760px) {
  body.public-page .mobile-menu-toggle,
  body.public-page .mobile-menu-close { color: #eafff7; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
  body.public-page .top-nav .nav-links { background: #170032; border-color: rgba(255,255,255,.14); }
  body.public-page .mobile-menu-head { color: #dff9ef; border-color: rgba(255,255,255,.1); }
  body.public-page .top-nav .nav-links a { color: #d0e1db; }
  body.public-page--home .hero { padding-top: 58px; }
  body.public-page--home .hero h1 { font-size: clamp(44px, 13vw, 66px); }
  body.public-page--home .hero-actions > * { flex-basis: 100%; }
  body.public-page--home .hero-stats { gap: 12px; }
  body.public-page--home .integration-strip { align-items: center; text-align: center; }
  body.public-page--home .reviews-heading,
  body.public-page--home .reviews-install { align-items: flex-start; flex-direction: column; }
  body.public-page--home .reviews-grid { grid-template-columns: 1fr; }
  body.public-page--home .app-review-panel { grid-template-columns: auto 1fr; }
  body.public-page--home .app-review-action { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Skip layout and paint work until below-the-fold content approaches the viewport. */
body.public-page--home section:not(.hero),
body.public-page--about main > section,
body.public-page--blog .post-card,
body.public-page--docs .doc-section { content-visibility: auto; contain-intrinsic-size: 1px 720px; }
