/* Phase 12-2 — Official Landing (SaaS: Apple / Stripe / Notion style) */

:root {
  --sb-blue: #2563eb;
  --sb-blue-deep: #1d4ed8;
  --sb-sky: #0ea5e9;
  --sb-green: #10b981;
  --sb-orange: #f97316;
  --sb-ink: #0f172a;
  --sb-muted: #64748b;
  --sb-line: #e2e8f0;
  --sb-soft: #f0f7ff;
  --sb-surface: #ffffff;
  --sb-radius: 16px;
  --sb-header-h: 72px;
  --sb-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --sb-shadow-hover: 0 14px 32px rgba(15, 23, 42, 0.1);
  --sb-font: "Segoe UI", "Noto Sans TC", "Noto Sans", system-ui, sans-serif;
  --sb-container: 1280px;
  --sb-section-y: 120px;
  --sb-gap: 32px;
  /* Dark mode tokens (reserved) */
  --sb-dm-bg: #0b1220;
  --sb-dm-ink: #e2e8f0;
  --sb-dm-soft: #111827;
}

body.sb-site {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sb-ink);
  background: var(--sb-surface);
  overflow-x: hidden;
}

.sb-wrap {
  width: min(var(--sb-container), calc(100% - 2rem));
  margin: 0 auto;
}

.sb-header__inner {
  width: min(var(--sb-container), calc(100% - 2rem));
}

.sb-h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem); /* ~36–56px */
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f172a;
}

.sb-h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem); /* ~28–40px */
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.sb-h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.sb-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: var(--sb-muted);
}

.sb-kicker {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sb-blue);
}

.sb-section {
  padding: var(--sb-section-y) 0;
}

.sb-section--soft {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.sb-section--ink {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #f8fafc;
}
.sb-section--ink .sb-h2,
.sb-section--ink .sb-lead {
  color: #f8fafc;
}
.sb-section--ink .sb-lead {
  opacity: 0.85;
}

.sb-section__head {
  margin-bottom: 3rem;
  max-width: 40rem;
}

/* —— Buttons —— */
.sb-btn {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 700;
}
.sb-btn--lg {
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}
.sb-btn--xl {
  min-height: 54px;
  padding: 0.85rem 2rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  border-radius: 16px;
}
.sb-btn__label {
  font-size: 1.05rem;
  line-height: 1.2;
}
.sb-btn__sub {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}
.sb-btn--primary {
  background: linear-gradient(135deg, var(--sb-blue), var(--sb-sky));
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}
.sb-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.sb-btn--on-ink {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
}
.sb-btn--on-ink:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.sb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.sb-actions--center {
  justify-content: center;
}
.sb-actions--hero {
  margin-top: 1.75rem;
}

/* —— Hero —— */
.sb-hero--v2 {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(1000px 480px at 85% 0%, rgba(37, 99, 235, 0.1), transparent 60%),
    radial-gradient(700px 400px at 10% 20%, rgba(14, 165, 233, 0.08), transparent 55%),
    #fff;
}
.sb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.sb-hero__note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--sb-muted);
}

.sb-product-carousel {
  position: relative;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--sb-line);
  box-shadow: var(--sb-shadow);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.sb-product-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  padding: 0.75rem 0.75rem 2.5rem;
  display: flex;
  flex-direction: column;
}
.sb-product-carousel__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}
.sb-product-carousel__caption {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--sb-muted);
}
.sb-product-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.sb-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  min-height: 8px;
}
.sb-dot.is-active {
  width: 22px;
  background: var(--sb-blue);
}

.sb-shot {
  margin: 0;
  width: 100%;
}
.sb-shot svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* —— Timeline —— */
.sb-timeline {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sb-gap);
  position: relative;
}
.sb-timeline::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sb-line), transparent);
  z-index: 0;
}
.sb-timeline__item {
  position: relative;
  z-index: 1;
}
.sb-timeline__card {
  background: #fff;
  border: 1px solid var(--sb-line);
  border-radius: 16px;
  padding: 1.35rem 1.15rem 1.15rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.sb-timeline__card:hover {
  box-shadow: var(--sb-shadow-hover);
  transform: translateY(-2px);
}
.sb-timeline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sb-blue), var(--sb-sky));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.sb-timeline__title {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 750;
}
.sb-timeline__body {
  margin: 0;
  font-size: 1rem;
  color: var(--sb-muted);
  line-height: 1.55;
}
.sb-timeline__rule {
  margin: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--sb-line);
}

/* —— Demo flow —— */
.sb-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.5rem;
  align-items: center;
  justify-content: flex-start;
}
.sb-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border: 1px solid var(--sb-line);
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
}
.sb-flow__step:not(:last-child)::after {
  content: "↓";
  margin-left: 0.55rem;
  color: var(--sb-blue);
  font-weight: 700;
}
.sb-flow__num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sb-soft);
  color: var(--sb-blue);
  font-size: 0.85rem;
  font-weight: 800;
}

@media (min-width: 900px) {
  .sb-flow {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .sb-flow__step:not(:last-child)::after {
    content: "→";
  }
}

/* —— Feature rows (Stripe/Notion style) —— */
.sb-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}
.sb-feature-row.is-flip .sb-feature-row__media {
  order: 2;
}
.sb-feature-row.is-flip .sb-feature-row__copy {
  order: 1;
}
.sb-feature-row__lead {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--sb-ink);
}
.sb-feature-row__body {
  margin: 0;
  color: var(--sb-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.sb-feature-row__media {
  border-radius: 20px;
  border: 1px solid var(--sb-line);
  background: #fff;
  padding: 0.75rem;
  box-shadow: var(--sb-shadow);
}

/* —— Gallery —— */
.sb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sb-gap);
}
.sb-gallery__item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--sb-line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sb-gallery__item:hover {
  box-shadow: var(--sb-shadow-hover);
  transform: translateY(-2px);
}
.sb-gallery__item figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--sb-muted);
}
.sb-shot--gallery svg {
  border-radius: 0;
}

.sb-cta-band {
  text-align: center;
}
.sb-cta-band .sb-lead {
  margin-left: auto;
  margin-right: auto;
}

/* —— Reveal: never hide content (JS may add .is-in for polish only) —— */
.sb-reveal {
  opacity: 1;
  transform: none;
}
html.sb-js .sb-reveal.is-in {
  animation: sbFadeUp 0.55s ease both;
}
@keyframes sbFadeUp {
  from {
    opacity: 0.2;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.sb-js .sb-reveal.is-in {
    animation: none;
  }
  .sb-product-carousel__slide {
    transition: none;
  }
}

/* —— Footer enrich —— */
.sb-footer {
  padding: 4rem 0 2rem;
  background: #0b1220;
  color: #cbd5e1;
}
.sb-footer a {
  color: #e2e8f0;
}
.sb-footer a:hover {
  color: #fff;
}
.sb-footer__grid {
  width: min(var(--sb-container), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.sb-footer h2 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 750;
}
.sb-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.sb-footer__bottom {
  width: min(var(--sb-container), calc(100% - 2rem));
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* —— RWD —— */
@media (max-width: 980px) {
  :root {
    --sb-section-y: 80px;
  }
  .sb-hero__grid {
    grid-template-columns: 1fr;
  }
  .sb-hero--v2 {
    padding-top: 2.5rem;
  }
  .sb-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sb-timeline::before {
    display: none;
  }
  .sb-feature-row,
  .sb-feature-row.is-flip {
    grid-template-columns: 1fr;
  }
  .sb-feature-row.is-flip .sb-feature-row__media,
  .sb-feature-row.is-flip .sb-feature-row__copy {
    order: initial;
  }
}

@media (max-width: 640px) {
  :root {
    --sb-section-y: 64px;
  }
  .sb-actions--hero {
    flex-direction: column;
    align-items: stretch;
  }
  .sb-btn--xl {
    align-items: center;
    text-align: center;
  }
  .sb-flow__step {
    width: 100%;
    justify-content: flex-start;
  }
  .sb-flow__step:not(:last-child)::after {
    margin-left: auto;
    content: "↓";
  }
}

/* 200% zoom / narrow readable layout */
@media (max-width: 420px) {
  .sb-h1 {
    font-size: 1.85rem;
  }
  .sb-wrap {
    width: calc(100% - 1.25rem);
  }
}

/* Public social proof (gated; hidden when counts below threshold) */
.sb-section--proof {
  padding-block: 1.25rem 0.5rem;
}
.sb-proof {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.sb-proof__line {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: #0f2b46;
  letter-spacing: 0.01em;
}
.sb-proof__sub {
  margin: 0.4rem 0 0;
  color: #4b647c;
  font-size: 0.95rem;
}

/* =========================================================
   Homepage V2 — commercial SaaS landing (public site only)
   ========================================================= */
.sb-page-home--v2 {
  --home-sky: #e8f4ff;
  --home-cream: #fff8ef;
  --home-mint: #eefaf4;
  --home-yellow: #fff9db;
  --home-lavender: #f3f0ff;
  --home-playful: #fff0f6;
  --home-card-radius: 20px;
  --home-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.sb-btn--soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5 !important;
  border: 1px solid #86efac !important;
  color: #047857 !important;
  box-shadow: none;
}
.sb-btn--soft:hover {
  background: #d1fae5 !important;
  border-color: #4ade80 !important;
  color: #065f46 !important;
}

.sb-home-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.sb-home-section--sky { background: var(--home-sky); }
.sb-home-section--cream { background: var(--home-cream); }
.sb-home-section--mint { background: var(--home-mint); }
.sb-home-section--yellow { background: var(--home-yellow); }
.sb-home-section--lavender { background: var(--home-lavender); }
.sb-home-section--playful {
  background:
    radial-gradient(600px 280px at 15% 20%, rgba(244, 114, 182, 0.12), transparent 60%),
    radial-gradient(500px 260px at 90% 80%, rgba(56, 189, 248, 0.14), transparent 55%),
    var(--home-playful);
}
.sb-home-section--final {
  background: linear-gradient(180deg, #fff 0%, var(--home-sky) 100%);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.sb-home-section .sb-section__head {
  margin-bottom: 2rem;
  max-width: 42rem;
}
.sb-home-section .sb-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #475569;
  max-width: 40rem;
}

/* Hero */
.sb-home-hero {
  padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(700px 360px at 8% 30%, rgba(16, 185, 129, 0.14), transparent 55%),
    #eaf4ff;
}
.sb-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}
.sb-home-hero .sb-h1 {
  white-space: pre-line;
  line-height: 1.18;
  margin-bottom: 0.85rem;
}
.sb-home-hero__lead {
  margin: 0;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: #475569;
  max-width: 36rem;
  white-space: pre-line;
}
.sb-home-hero .sb-actions--hero {
  margin-top: 1.15rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.sb-home-hero__visual {
  display: flex;
  justify-content: center;
}
.sb-home-quote-laptop--hero {
  max-width: 30rem;
  width: 100%;
  height: auto;
  aspect-ratio: 880 / 620;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.14));
}

.sb-home-pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.sb-home-pain-layout__aside {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 20px;
  box-shadow: var(--home-shadow);
  padding: 1.35rem 1.4rem;
}
.sb-home-pain-layout .sb-home-transition {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
}
.sb-home-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.sb-home-flow-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.55rem 0.35rem;
}
.sb-home-flow-row .sb-home-flow-card {
  flex: 1 1 8.5rem;
  max-width: 11.5rem;
}
.sb-home-flow-row__arrow {
  align-self: center;
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0 0.1rem;
}

.sb-home-pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.38fr);
  gap: 1.25rem;
  align-items: stretch;
}
.sb-home-price-aside {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--home-card-radius);
  box-shadow: var(--home-shadow);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sb-home-price-aside .sb-btn {
  margin-top: auto;
  align-self: flex-start;
}
.sb-home-price-card.is-growth {
  border-color: #86efac;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}
.sb-home-price-card.is-growth .sb-home-price-card__badge {
  background: #059669;
}

.sb-home-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.55fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.sb-home-faq--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
.sb-home-faq-illu {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  box-shadow: var(--home-shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  color: #334155;
  font-weight: 700;
}
.sb-home-faq-illu i {
  font-size: 2.75rem;
  color: #10b981;
}

.sb-home-quote-preview {
  display: block;
  width: 100%;
  max-width: 26rem;
  height: auto;
  aspect-ratio: 520 / 420;
  border-radius: 16px;
  box-shadow: var(--home-shadow);
}
.sb-home-quote-laptop {
  display: block;
  width: 100%;
  max-width: 34rem;
  height: auto;
  aspect-ratio: 880 / 620;
}
.sb-home-quote-laptop > svg {
  display: block;
  width: 100%;
  height: auto;
}
.sb-home-hero__demo-nudge {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  max-width: 34rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 114, 182, 0.22);
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.08);
}
.sb-home-hero__demo-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #9d174d;
}
.sb-home-hero__demo-lead {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #64748b;
  font-weight: 600;
}
.sb-home-hero__icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 22rem;
  margin-inline: auto;
}
.sb-home-hero__icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--home-shadow);
  color: #2563eb;
  font-size: 1.55rem;
}
.sb-home-hero__icon-chip.is-accent {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border-color: transparent;
}
.sb-home-hero__visual-caption {
  margin: 1rem 0 0;
  text-align: center;
  color: #64748b;
  font-weight: 700;
  font-size: 0.95rem;
}
.sb-home-trustline {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.98rem;
  font-weight: 600;
}
.sb-home-trustline li::before {
  content: "✓ ";
  color: #059669;
  font-weight: 800;
}

.sb-browser-frame {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: var(--home-shadow);
  overflow: hidden;
}
.sb-browser-frame--lg {
  border-radius: 22px;
}
.sb-browser-frame__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.sb-browser-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.sb-browser-frame__dot:nth-child(1) { background: #fca5a5; }
.sb-browser-frame__dot:nth-child(2) { background: #fcd34d; }
.sb-browser-frame__dot:nth-child(3) { background: #86efac; }
.sb-browser-frame__url {
  margin-left: 0.5rem;
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-browser-frame__body {
  padding: 0.75rem;
  background: #fff;
}
.sb-browser-frame__body .sb-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Shared cards */
.sb-home-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--home-card-radius);
  box-shadow: var(--home-shadow);
  padding: 1.25rem 1.35rem;
}
.sb-home-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.sb-home-card__icon--feat {
  background: #ecfdf5;
  color: #059669;
}
.sb-home-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #334155;
  font-weight: 600;
}

.sb-home-pain-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sb-home-card--pain {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.sb-home-transition {
  margin: 2rem 0 0;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #1e3a8a;
}

.sb-home-flow-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.sb-home-flow-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--home-card-radius);
  box-shadow: var(--home-shadow);
  padding: 1.35rem 1.1rem 1.5rem;
  text-align: center;
  min-height: 100%;
}
.sb-home-flow-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}
.sb-home-flow-card .sb-h3 {
  font-size: 1.2rem;
}
.sb-home-flow-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.sb-home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.sb-home-card--feature {
  padding: 1rem 1.1rem 1.15rem;
}
.sb-home-card--feature .sb-h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}
.sb-home-card--feature .sb-home-card__icon {
  width: 2.15rem;
  height: 2.15rem;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.sb-home-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}
.sb-home-feature-list li {
  position: relative;
  padding-left: 1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.4;
}
.sb-home-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #38bdf8;
}

.sb-home-trio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 1.35rem 1.5rem;
  align-items: start;
}
.sb-home-trio__col {
  min-width: 0;
}
.sb-home-trio__col > .sb-h2 {
  margin-bottom: 0.85rem;
}
.sb-home-trio__lead {
  margin: 0 0 0.95rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.sb-home-trio__visual {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-home-quote-laptop {
  display: block;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}
.sb-home-quote-laptop > svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 880 / 620;
}

.sb-home-callouts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.sb-home-callouts--stack {
  justify-content: flex-start;
}
.sb-home-pill {
  display: inline-block;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ddd6fe;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.08);
  color: #5b21b6;
  font-weight: 700;
  font-size: 0.9rem;
}

.sb-home-email-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem 0.35rem;
}
.sb-home-email-flow--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}
.sb-home-email-flow__step {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  box-shadow: var(--home-shadow);
  padding: 0.85rem 1rem;
  min-width: 0;
  text-align: left;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.sb-home-email-flow--stack .sb-home-email-flow__step {
  justify-content: flex-start;
}
.sb-home-email-flow__icon {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fef3c7;
  color: #b45309;
  font-size: 1.1rem;
}
.sb-home-email-flow__arrow {
  align-self: center;
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0;
  line-height: 1;
}
.sb-home-email-note {
  margin: 0.95rem 0 0;
  max-width: none;
  text-align: left;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.sb-home-demo-panel {
  background: #fff;
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 24px;
  box-shadow: var(--home-shadow);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.sb-home-demo-panel .sb-lead {
  margin-inline: auto;
  white-space: pre-line;
}
.sb-home-demo-panel .sb-actions {
  justify-content: center;
}
.sb-home-demo-disclaimer {
  margin: 1.1rem 0 0;
  color: #9d174d;
  font-weight: 700;
  font-size: 0.98rem;
}

.sb-home-demo-strip {
  padding: 1.25rem 0;
  background:
    radial-gradient(420px 160px at 12% 40%, rgba(244, 114, 182, 0.1), transparent 65%),
    #fff7fb;
  border-block: 1px solid rgba(244, 114, 182, 0.14);
}
.sb-home-demo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}
.sb-home-demo-strip__text {
  margin: 0;
  display: grid;
  gap: 0.2rem;
  color: #475569;
  font-size: 0.98rem;
  font-weight: 600;
}
.sb-home-demo-strip__text strong {
  color: #9d174d;
  font-size: 1.05rem;
}

.sb-home-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.sb-home-price-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--home-card-radius);
  box-shadow: var(--home-shadow);
  padding: 1.5rem 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}
.sb-home-price-card.is-featured {
  border-color: #93c5fd;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.16);
  transform: translateY(-4px);
}
.sb-home-price-card.is-featured.is-growth {
  border-color: #86efac;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}
.sb-home-price-card__badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.sb-home-price-card__amt {
  margin: 0;
}
.sb-home-price-card__num {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.sb-home-price-card__period {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
}
.sb-home-paypal {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.sb-home-paypal__label {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}
.sb-home-paypal__btn {
  width: 100%;
  max-width: 100%;
  min-height: 2.5rem;
  overflow: hidden;
  box-sizing: border-box;
}
.sb-home-paypal__btn iframe,
.sb-home-paypal__btn .paypal-buttons,
.sb-home-paypal__btn > div {
  max-width: 100% !important;
  width: 100% !important;
}
.sb-home-price-card.has-paypal {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sb-home-price-card.has-paypal .sb-home-paypal {
  margin-top: auto;
}
.sb-home-pricing-note {
  margin: 1.5rem auto 0;
  text-align: center;
  max-width: 40rem;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
}

.sb-home-trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sb-home-card--trust {
  text-align: center;
  align-items: center;
}
.sb-home-card--trust .sb-home-card__icon {
  margin-inline: auto;
}

.sb-home-faq-wrap {
  max-width: 52rem;
}
.sb-home-faq details {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.25rem;
}
.sb-home-faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 750;
  padding: 1rem 1.1rem;
  list-style: none;
  color: #0f172a;
}
.sb-home-faq summary::-webkit-details-marker { display: none; }
.sb-home-faq summary::after {
  content: "+";
  float: right;
  color: #2563eb;
  font-weight: 800;
}
.sb-home-faq details[open] summary::after { content: "–"; }
.sb-home-faq p {
  margin: 0;
  padding: 0 1.1rem 1.15rem;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.6;
}

.sb-home-final-panel {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}
.sb-home-final-panel .sb-h2 {
  margin-bottom: 1.25rem;
}

@media (max-width: 1100px) {
  .sb-home-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sb-home-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sb-home-price-card.is-featured {
    transform: none;
  }
  .sb-home-trio {
    grid-template-columns: 1fr 1fr;
  }
  .sb-home-trio__visual {
    grid-column: 1 / -1;
  }
  .sb-home-quote-laptop {
    max-width: 28rem;
  }
  .sb-home-pricing-layout,
  .sb-home-pain-layout,
  .sb-home-faq-layout {
    grid-template-columns: 1fr;
  }
  .sb-home-faq--cols {
    grid-template-columns: 1fr;
  }
  .sb-home-flow-row__arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .sb-home-hero__grid {
    grid-template-columns: 1fr;
  }
  .sb-home-pain-grid,
  .sb-home-feature-grid,
  .sb-home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sb-home-trio {
    grid-template-columns: 1fr;
  }
  .sb-home-trio__visual {
    grid-column: auto;
  }
  .sb-home-quote-laptop,
  .sb-home-quote-laptop--hero {
    max-width: 22rem;
  }
}

@media (max-width: 640px) {
  .sb-home-pain-grid,
  .sb-home-feature-grid,
  .sb-home-trust-grid,
  .sb-home-flow-grid,
  .sb-home-price-grid {
    grid-template-columns: 1fr;
  }
  .sb-home-hero .sb-actions--hero {
    flex-direction: column;
    align-items: stretch;
  }
  .sb-home-hero .sb-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
  }
  .sb-home-hero__icons {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: none;
    gap: 0.5rem;
  }
  .sb-home-hero__icon-chip {
    width: 100%;
    height: 3.25rem;
    border-radius: 14px;
    font-size: 1.25rem;
  }
  .sb-home-demo-strip__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .sb-home-demo-strip__inner .sb-btn {
    width: 100%;
    justify-content: center;
  }
  .sb-home-email-flow {
    flex-direction: column;
  }
  .sb-home-email-flow__step {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .sb-page-home--v2 .sb-h1 {
    font-size: 1.85rem;
  }
  .sb-page-home--v2 .sb-h2 {
    font-size: 1.45rem;
  }
  .sb-home-pill {
    font-size: 0.9rem;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sb-home-price-card.is-featured {
    transform: none;
  }
}

/* =========================================================
   Homepage cartoon style — friendly / slightly cute SaaS
   Cream / beige (米黃色) base throughout
   ========================================================= */
.sb-page-home--cartoon {
  --home-cream: #f3e6d0;
  --home-sky: #efe0c4;
  --home-mint: #f1e4cc;
  --home-yellow: #ffe9b8;
  --home-lavender: #ecddc0;
  --home-playful: #f2e5ce;
  --home-shadow: 4px 4px 0 rgba(154, 52, 18, 0.12);
  --home-card-radius: 22px;
  --home-ink: #9a3412;
  --sb-surface: #f3e6d0;
  --sb-soft: #ecddc0;
  background: #f3e6d0;
  font-family: "Nunito", "Noto Sans TC", "Segoe UI", sans-serif;
}
.sb-page-home--cartoon .sb-header {
  background: rgba(243, 230, 208, 0.94);
}
.sb-page-home--cartoon .sb-header.is-scrolled {
  background: rgba(243, 230, 208, 0.98);
}
.sb-page-home--cartoon .sb-h1,
.sb-page-home--cartoon .sb-h2,
.sb-page-home--cartoon .sb-h3 {
  font-family: "Nunito", "Noto Sans TC", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}
.sb-page-home--cartoon .sb-h1 {
  font-weight: 900;
}
.sb-page-home--cartoon .sb-h2 {
  font-weight: 800;
}

.sb-page-home--cartoon .sb-home-section--lavender,
.sb-page-home--cartoon .sb-home-section--cream,
.sb-page-home--cartoon .sb-home-section--sky,
.sb-page-home--cartoon .sb-home-section--mint,
.sb-page-home--cartoon .sb-home-section--yellow,
.sb-page-home--cartoon .sb-home-section--playful {
  background: var(--home-cream);
}
.sb-page-home--cartoon .sb-home-section--sky,
.sb-page-home--cartoon .sb-home-section--mint {
  background: var(--home-sky);
}
.sb-page-home--cartoon .sb-home-section--yellow {
  background: var(--home-yellow);
}
.sb-page-home--cartoon .sb-home-section--lavender {
  background:
    radial-gradient(520px 260px at 12% 18%, rgba(251, 191, 36, 0.18), transparent 60%),
    radial-gradient(480px 240px at 90% 80%, rgba(251, 146, 60, 0.12), transparent 55%),
    var(--home-lavender);
}
.sb-page-home--cartoon .sb-home-section--final {
  background: linear-gradient(180deg, #f3e6d0 0%, #ecddc0 100%);
}

.sb-page-home--cartoon .sb-home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(251, 191, 36, 0.28), transparent 58%),
    radial-gradient(620px 340px at 6% 70%, rgba(251, 146, 60, 0.18), transparent 55%),
    radial-gradient(480px 280px at 55% 100%, rgba(245, 158, 11, 0.12), transparent 50%),
    #f3e6d0;
}

.sb-home-cartoon-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sb-page-home--cartoon .sb-home-hero .sb-wrap {
  position: relative;
  z-index: 1;
}
.sb-home-cartoon-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}
.sb-home-cartoon-blob--a {
  width: 140px;
  height: 140px;
  left: -30px;
  top: 40px;
  background: #fcd34d;
  animation: sbCartoonFloat 7s ease-in-out infinite;
}
.sb-home-cartoon-blob--b {
  width: 110px;
  height: 110px;
  right: 8%;
  top: 18%;
  background: #fdba74;
  animation: sbCartoonFloat 8.5s ease-in-out infinite reverse;
}
.sb-home-cartoon-blob--c {
  width: 90px;
  height: 90px;
  left: 42%;
  bottom: 8%;
  background: #fde68a;
  animation: sbCartoonFloat 6.5s ease-in-out infinite 0.6s;
}
.sb-home-cartoon-star {
  position: absolute;
  color: #f59e0b;
  font-size: 1.35rem;
  text-shadow: 2px 2px 0 rgba(180, 83, 9, 0.25);
  animation: sbCartoonTwinkle 3.2s ease-in-out infinite;
}
.sb-home-cartoon-star--1 { left: 12%; top: 22%; }
.sb-home-cartoon-star--2 { right: 18%; top: 12%; color: #f59e0b; animation-delay: 0.8s; }
.sb-home-cartoon-star--3 { left: 48%; bottom: 16%; color: #ea580c; animation-delay: 1.4s; }

.sb-home-hero__stage {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
}
.sb-home-cartoon-stickers {
  position: absolute;
  inset: -8% -6% auto;
  width: 108%;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.sb-page-home--cartoon .sb-home-quote-laptop--hero {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  filter: drop-shadow(6px 10px 0 rgba(30, 58, 138, 0.12));
}
.sb-home-cartoon-mascot--hero {
  position: absolute;
  right: -4%;
  bottom: -2%;
  width: clamp(5.5rem, 16vw, 7.5rem);
  height: auto;
  z-index: 2;
  animation: sbCartoonBob 3.6s ease-in-out infinite;
  filter: drop-shadow(3px 4px 0 rgba(30, 58, 138, 0.14));
}
.sb-home-cartoon-mascot--faq {
  width: 7.5rem;
  height: auto;
  animation: sbCartoonBob 4s ease-in-out infinite;
}
.sb-home-cartoon-mascot--showcase {
  width: min(100%, 16rem);
  height: auto;
  margin: 1rem auto 0;
  display: block;
  animation: sbCartoonBob 3.8s ease-in-out infinite;
  filter: drop-shadow(4px 5px 0 rgba(154, 52, 18, 0.14));
}
.sb-home-demo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.35rem 1.2rem 1.25rem;
  background: #fffaf3;
  border: 2.5px solid rgba(154, 52, 18, 0.16);
  border-radius: 24px;
  box-shadow: 5px 5px 0 rgba(154, 52, 18, 0.1);
  max-width: 20rem;
  margin: 0 auto;
}
.sb-home-demo-card--hero {
  max-width: 22rem;
  width: 100%;
  padding: 1.5rem 1.35rem 1.4rem;
  background: #fffdf8;
  border-color: rgba(120, 53, 15, 0.18);
}
.sb-home-hero__grid--demo {
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.85fr);
  align-items: center;
}
.sb-home-trio--duo {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important;
}
.sb-home-trio__caption {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #78716c;
}
.sb-home-demo-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 900;
  color: #7c2d12;
  line-height: 1.3;
}
.sb-home-demo-card__art {
  display: block;
  width: min(100%, 14.5rem);
  height: auto;
}
.sb-home-demo-card--hero .sb-home-demo-card__art {
  width: min(100%, 16rem);
}
.sb-home-demo-card__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #44403c;
  font-weight: 600;
  white-space: pre-line;
}
.sb-home-demo-card__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #78716c;
  white-space: pre-line;
}
.sb-btn--demo-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #facc15 !important;
  border: 2.5px solid #a16207 !important;
  color: #1c1917 !important;
  font-weight: 900 !important;
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 rgba(161, 98, 7, 0.28);
  text-decoration: none !important;
}
.sb-btn--demo-yellow:hover {
  background: #fde047 !important;
  color: #0c0a09 !important;
}

@media (max-width: 900px) {
  .sb-home-hero__grid--demo {
    grid-template-columns: 1fr;
  }
  .sb-home-demo-card--hero {
    max-width: 22rem;
  }
}
.sb-home-cat-showcase {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-top: 0.35rem;
}
.sb-page-home--cartoon .sb-home-trio--cat {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.85fr);
  align-items: center;
}
.sb-page-home--cartoon .sb-home-email-flow__icon--cat {
  background: #fff7ed;
  border: 2px solid rgba(249, 115, 22, 0.35);
  box-shadow: 2px 2px 0 rgba(154, 52, 18, 0.1);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Comic card / button treatment */
.sb-page-home--cartoon .sb-home-card,
.sb-page-home--cartoon .sb-home-flow-card,
.sb-page-home--cartoon .sb-home-price-card,
.sb-page-home--cartoon .sb-home-price-aside,
.sb-page-home--cartoon .sb-home-pain-layout__aside,
.sb-page-home--cartoon .sb-home-faq-illu,
.sb-page-home--cartoon .sb-home-final-panel,
.sb-page-home--cartoon .sb-home-faq details {
  border: 2.5px solid rgba(154, 52, 18, 0.14) !important;
  box-shadow: 4px 4px 0 rgba(154, 52, 18, 0.1) !important;
  border-radius: var(--home-card-radius);
  background: #fff;
}
.sb-page-home--cartoon .sb-home-faq details[open] {
  border-color: rgba(37, 99, 235, 0.35) !important;
}
.sb-page-home--cartoon .sb-btn--primary,
.sb-page-home--cartoon .sb-btn--lg.sb-btn--primary {
  border: 2.5px solid #1d4ed8 !important;
  box-shadow: 3px 3px 0 rgba(29, 78, 216, 0.28);
  border-radius: 999px;
  font-weight: 800;
}
.sb-page-home--cartoon .sb-btn--ghost,
.sb-page-home--cartoon .sb-btn--soft {
  border-width: 2.5px !important;
  box-shadow: 3px 3px 0 rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  font-weight: 800;
}
.sb-page-home--cartoon .sb-btn--soft {
  box-shadow: 3px 3px 0 rgba(4, 120, 87, 0.16);
}

.sb-home-card__sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff7ed, #ffedd5);
  border: 2px solid rgba(251, 146, 60, 0.45);
  box-shadow: 2px 2px 0 rgba(194, 65, 12, 0.12);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  line-height: 1;
}
.sb-page-home--cartoon .sb-home-card--pain {
  transition: transform 0.18s ease;
}
.sb-page-home--cartoon .sb-home-card--pain:hover {
  transform: translateY(-3px) rotate(-0.4deg);
}

.sb-page-home--cartoon .sb-home-flow-card__num {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  border: 2.5px solid #1e3a8a;
  box-shadow: 2px 2px 0 rgba(30, 58, 138, 0.2);
  color: #fff;
  font-weight: 900;
}
.sb-page-home--cartoon .sb-home-flow-row__arrow {
  color: #60a5fa;
  font-size: 1.45rem;
  text-shadow: 1px 1px 0 rgba(30, 58, 138, 0.15);
}

.sb-page-home--cartoon .sb-home-card__icon--feat,
.sb-page-home--cartoon .sb-home-card--feature .sb-home-card__icon,
.sb-page-home--cartoon .sb-home-card--trust .sb-home-card__icon {
  border: 2.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 2px 2px 0 rgba(4, 120, 87, 0.12);
  border-radius: 16px;
}

.sb-page-home--cartoon .sb-home-price-card.is-featured.is-growth,
.sb-page-home--cartoon .sb-home-price-card.is-growth {
  border-color: #34d399 !important;
  box-shadow: 5px 5px 0 rgba(5, 150, 105, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  transform: translateY(-4px);
}
.sb-page-home--cartoon .sb-home-price-card__badge {
  border: 2px solid #047857;
  box-shadow: 2px 2px 0 rgba(4, 120, 87, 0.2);
}

.sb-page-home--cartoon .sb-home-quote-preview {
  border: 2.5px solid rgba(30, 58, 138, 0.18);
  box-shadow: 5px 5px 0 rgba(30, 58, 138, 0.1);
}
.sb-page-home--cartoon .sb-home-email-flow__step {
  border: 2.5px solid rgba(30, 58, 138, 0.14);
  box-shadow: 3px 3px 0 rgba(30, 58, 138, 0.08);
  border-radius: 16px;
}

.sb-page-home--cartoon .sb-home-final-panel {
  background:
    radial-gradient(420px 180px at 15% 20%, rgba(251, 191, 36, 0.28), transparent 60%),
    radial-gradient(380px 160px at 90% 80%, rgba(251, 146, 60, 0.18), transparent 55%),
    #fff8ec;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.sb-page-home--cartoon .sb-home-trustline li::before {
  content: "✔";
  color: #10b981;
  font-weight: 900;
}

@keyframes sbCartoonFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}
@keyframes sbCartoonBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes sbCartoonTwinkle {
  0%, 100% { opacity: 0.55; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.18) rotate(12deg); }
}

@media (max-width: 900px) {
  .sb-home-cartoon-mascot--hero {
    width: 5.25rem;
    right: 0;
    bottom: -6%;
  }
  .sb-home-cartoon-stickers {
    opacity: 0.7;
  }
  .sb-home-cartoon-blob--a,
  .sb-home-cartoon-blob--b,
  .sb-home-cartoon-blob--c {
    width: 70px;
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-home-cartoon-blob,
  .sb-home-cartoon-star,
  .sb-home-cartoon-mascot--hero,
  .sb-home-cartoon-mascot--faq {
    animation: none !important;
  }
  .sb-page-home--cartoon .sb-home-card--pain:hover {
    transform: none;
  }
}
