/* Homepage shell matched to the Sasby marketing layout.
   Cream canvas, Plus Jakarta headlines, violet pills, staggered cards.
   Copy, logo, and screenshots are Clippingli's. */

body.sasby-home {
  --sb-bg: #fffbf8;
  --sb-ink: #122428;
  --sb-muted: #6d7780;
  --sb-green: #16a34a;
  --sb-green-deep: #15803d;
  --sb-soft: #ecfdf3;
  --sb-card: #ffffff;
  --sb-navy: #0e1524;
  --sb-display: "Plus Jakarta Sans", "Space Grotesk", system-ui, sans-serif;
  --sb-sans: "DM Sans", system-ui, sans-serif;
  --fx-bg: #fffbf8;
  --fx-surface: #ffffff;
  --fx-surface-2: #f3faf5;
  --fx-line: rgba(18, 36, 40, 0.1);
  --fx-ink: #122428;
  --fx-mist: #6d7780;
  --fx-dim: #6d7780;
  --fx-leaf: #16a34a;
  --fx-leaf-soft: #ecfdf3;
  --bg: #fffbf8;
  --ink: #122428;
  --mist: #6d7780;
  --primary: #16a34a;
  --primary-soft: #ecfdf3;
  --gold: #16a34a;
  --on-primary: #fff;
  --surface: #fff;
  --surface-2: #f3faf5;
  --line: rgba(18, 36, 40, 0.1);
  background: var(--sb-bg) !important;
  background-image: none !important;
  color: var(--sb-ink);
  font-family: var(--sb-sans);
}

body.sasby-home .site-header.is-fluent {
  background: rgba(255, 251, 248, 0.92);
  border-bottom: 0;
  box-shadow: none;
}
body.sasby-home .brand-word,
body.sasby-home .nav-links a {
  color: var(--sb-ink);
  font-family: var(--sb-sans);
  font-weight: 500;
  box-shadow: none;
}
body.sasby-home .nav-links a:hover,
body.sasby-home .nav-links a.is-active {
  color: var(--sb-green);
  box-shadow: none;
}
body.sasby-home .sb-outline {
  border: 1.5px solid var(--sb-green);
  color: var(--sb-green) !important;
  border-radius: 999px;
  padding: 0.45rem 1.05rem !important;
  font-weight: 700;
  line-height: 1;
}
body.sasby-home .sb-outline:hover { background: var(--sb-soft); }
body.sasby-home .sb-nav-buy,
body.sasby-home .sb-btn,
body.sasby-home .btn-gold {
  background: var(--sb-green);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-weight: 650;
}
body.sasby-home .sb-nav-buy { padding: 0.55rem 1.15rem; }
body.sasby-home .sb-nav-buy:hover,
body.sasby-home .sb-btn:hover,
body.sasby-home .btn-gold:hover { background: var(--sb-green-deep); }

.sb { color: var(--sb-ink); }
.sb h1, .sb h2, .sb h3, .sb-ready h2 {
  font-family: var(--sb-display);
  color: var(--sb-ink);
  letter-spacing: -0.035em;
  font-weight: 700;
}
.sb-kicker {
  margin: 0 0 0.85rem;
  color: var(--sb-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sb-kicker-light { color: #dcfce7; }
.sb-btn, .sb-pill, .sb-store, .sb-float-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
}
.sb-btn { padding: 0.85rem 1.45rem; font-weight: 650; }
.sb-help {
  color: var(--sb-ink);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.85rem;
}
.sb-help:hover { color: var(--sb-green); }

.sb-hero {
  position: relative;
  padding: 2.4rem 0 6.2rem;
  background: #fffbf8;
}
.sb-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
}
.sb-hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.7rem, 4.4vw, 3.75rem);
  line-height: 1.12;
  max-width: 12ch;
}
.sb-checks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; }
.sb-checks li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 1.02rem;
}
.sb-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28rem;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: #22a35a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.2l2.6 2.6 6-6.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 0.75rem no-repeat;
}
.sb-hero-actions { display: flex; align-items: center; margin-bottom: 1.6rem; }
.sb-proof-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.sb-proof-row strong { display: block; font-size: 0.98rem; }
.sb-proof-row span { color: var(--sb-muted); font-size: 0.88rem; }
.sb-scribble { width: 72px; height: 32px; }

.sb-hero-art { position: relative; min-height: 520px; }
.sb-window {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(18, 32, 24, 0.16);
  border: 8px solid #161616;
}
.sb-window img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.sb-window-back { width: 52%; height: 300px; right: 2%; top: 78px; transform: rotate(6deg); }
.sb-window-front { width: 58%; height: 330px; left: 0; top: 128px; }
.sb-float {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(18, 32, 24, 0.12);
}
.sb-float-stat { left: 6%; top: 8px; z-index: 3; padding: 0.85rem 1rem 0.7rem; width: 9.5rem; }
.sb-float-stat b { display: block; font-family: var(--sb-display); font-size: 1.35rem; }
.sb-float-stat span { color: var(--sb-muted); font-size: 0.75rem; }
.sb-float-stat i {
  display: inline-block; width: 1.4rem; height: 0.45rem; margin: 0.55rem 0.15rem 0 0;
  border-radius: 4px; background: #bbf7d0;
}
.sb-float-stat i:nth-child(3) { height: 0.9rem; background: var(--sb-green); }
.sb-float-stat i:nth-child(4) { height: 0.7rem; background: #86efac; }
.sb-float-card {
  right: 2%; top: 0; z-index: 3;
  display: flex; gap: 0.6rem; align-items: center;
  padding: 0.7rem 0.85rem;
  width: 12.2rem;
}
.sb-avatar {
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sb-soft); color: var(--sb-green); font-weight: 800; font-size: 0.75rem;
}
.sb-float-card strong { display: block; font-size: 0.86rem; }
.sb-float-card em { color: var(--sb-muted); font-style: normal; font-size: 0.75rem; }
.sb-down {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: var(--sb-green);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(18, 32, 24, 0.12);
  text-decoration: none;
}

.sb-block { padding: 5.2rem 0; background: #fff; }
.sb-tint { background: #f3faf5; }
.sb-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}
.sb-head h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.18; }
.sb-head p { margin: 0; color: var(--sb-muted); line-height: 1.65; }

.sb-stagger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.sb-stagger article:nth-child(even) { margin-top: 3.4rem; }
.sb-stagger article, .sb-tiles article, .sb-plans article, .sb-posts article, .sb-reqs article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(30, 20, 70, 0.06);
}
.sb-stagger article, .sb-tiles article { padding: 1.5rem 1.35rem 1.4rem; }
.sb-stagger h3, .sb-tiles h3, .sb-reqs h3 { margin: 0.85rem 0 0.4rem; font-size: 1.15rem; }
.sb-stagger p, .sb-tiles p, .sb-reqs p { margin: 0; color: var(--sb-muted); line-height: 1.55; }
.sb-stagger a {
  display: inline-flex;
  margin-top: 1rem;
  background: #ecfdf3;
  color: var(--sb-green);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.sb-ico {
  width: 2.7rem; height: 2.7rem; border-radius: 12px;
  display: grid; place-items: center;
}
.sb-ico svg { width: 1.25rem; height: 1.25rem; }
.sb-ico-a { background: #fff1e4; color: #e08a3c; }
.sb-ico-b { background: #e7f1ff; color: #4d86e8; }
.sb-ico-c { background: #fde8f3; color: #d45b9a; }
.sb-ico-d { background: #e8f8ee; color: #2f9d62; }
.sb-tiles .sb-ico { border-radius: 50%; }

.sb-progress {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4.5rem;
}
.sb-progress-media { position: relative; }
.sb-frame {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30, 20, 70, 0.12);
  border: 1px solid rgba(23, 23, 23, 0.06);
}
.sb-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: #f4f1ec;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
  color: var(--sb-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.sb-frame-bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d7d1c8;
}
.sb-frame-bar i:nth-child(1) { background: #e07a70; }
.sb-frame-bar i:nth-child(2) { background: #e0b45c; }
.sb-frame-bar i:nth-child(3) { background: #6cbc7d; }
.sb-frame-bar span { margin-left: 0.45rem; }
.sb-frame-screen {
  position: relative;
  background: #0f1412;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.sb-frame-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 0% 0%;
}
.sb-badge {
  position: absolute;
  left: -0.6rem; top: -1.2rem;
  z-index: 2;
  background: #fff;
  border-radius: 22px;
  padding: 1rem 1.15rem;
  box-shadow: 0 16px 40px rgba(30, 20, 70, 0.1);
  width: 9rem;
}
.sb-badge b { display: block; font-family: var(--sb-display); font-size: 1.7rem; }
.sb-badge span, .sb-badge em { display: block; color: var(--sb-muted); font-style: normal; font-size: 0.82rem; }
.sb-badge em { color: #2f9d62; margin-top: 0.25rem; }
.sb-progress-copy h2 { margin: 0 0 0.8rem; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.15; }
.sb-progress-copy p { color: var(--sb-muted); line-height: 1.65; }

.sb-feature-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.6rem; align-items: center; }
.sb-feature-shot { position: relative; }
.sb-feature-shot .sb-frame { width: 100%; max-width: 28rem; }
.sb-chip {
  position: absolute;
  right: -0.4rem; top: 18%;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem 0.95rem;
  box-shadow: 0 12px 30px rgba(30, 20, 70, 0.12);
  width: 10rem;
}
.sb-chip strong { display: block; }
.sb-chip span { color: var(--sb-muted); font-size: 0.82rem; }
.sb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.sb-acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.sb-acc details {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  box-shadow: 0 10px 28px rgba(30, 20, 70, 0.05);
  padding: 0.2rem 1.1rem;
}
.sb-acc summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.6rem 0.95rem 0;
  list-style: none;
  position: relative;
}
.sb-acc summary::-webkit-details-marker { display: none; }
.sb-acc summary::after {
  content: "";
  position: absolute;
  right: 0; top: 1.15rem;
  width: 0.55rem; height: 0.55rem;
  border-right: 2px solid var(--sb-green);
  border-bottom: 2px solid var(--sb-green);
  transform: rotate(45deg);
}
.sb-acc details[open] { background: var(--sb-green); color: #fff; }
.sb-acc details[open] summary { color: #fff; }
.sb-acc details[open] summary::after { border-color: #fff; transform: rotate(-135deg); top: 1.3rem; }
.sb-acc details p { margin: 0 0 1rem; color: rgba(255,255,255,0.9); line-height: 1.55; }
.sb-collage { position: relative; min-height: 420px; }
.sb-blob { position: absolute; overflow: hidden; background: #dcfce7; }
.sb-blob img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.sb-blob-a { width: 46%; height: 250px; left: 8%; top: 40px; border-radius: 140px 140px 40px 140px; }
.sb-blob-b { width: 38%; height: 180px; right: 4%; top: 0; border-radius: 24px 90px 90px 24px; }
.sb-blob-c { width: 42%; height: 190px; right: 10%; bottom: 10px; border-radius: 90px 24px 90px 40px; }

.sb-meter {
  background: var(--sb-green);
  color: #fff;
  padding: 3rem 0;
}
.sb-meter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 1.5rem; }
.sb-meter article {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 16rem;
  margin: 0 auto;
  width: 100%;
}
.sb-meter-ico {
  flex: 0 0 auto;
  width: 2.45rem; height: 2.45rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.16);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.1rem;
}
.sb-meter strong {
  display: block;
  font-family: var(--sb-display);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}
.sb-meter em {
  display: block;
  font-style: normal;
  opacity: 0.88;
  font-size: 0.86rem;
  line-height: 1.4;
}

.sb-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sb-quotes article {
  background: radial-gradient(circle at 50% 42%, #f4f0ff 0 58%, transparent 59%);
  text-align: center;
  padding: 2.2rem 1.6rem 1rem;
  min-height: 280px;
}
.sb-q {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: #fff; color: var(--sb-green);
  font-family: var(--sb-display); font-size: 1.6rem; line-height: 1;
  box-shadow: 0 8px 20px rgba(30, 20, 70, 0.06);
}
.sb-quotes p { color: var(--sb-ink); line-height: 1.55; margin: 1rem 0 0.8rem; }
.sb-quotes strong { display: block; }
.sb-quotes em { color: var(--sb-muted); font-style: normal; font-size: 0.9rem; }
.sb-marks {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 2.2rem 0 2rem;
  color: #b0b6bf;
  font-family: var(--sb-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.sb-reels { margin-top: 0.5rem; }
.sb-more { text-align: center; }
.sb-more a { color: var(--sb-green); font-weight: 700; }

.sb-screens {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.9rem;
}
.sb-screen-card {
  margin: 0;
  width: 18%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(30, 20, 70, 0.08);
  border: 1px solid rgba(23, 23, 23, 0.06);
  overflow: hidden;
  padding: 0.55rem 0.55rem 0.7rem;
}
.sb-screen-card.is-mid {
  width: 22%;
  transform: translateY(-18px);
}
.sb-screen-pad {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0f1412;
  aspect-ratio: 16 / 10;
}
.sb-screen-pad img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 0%;
  display: block;
}
.sb-screens figcaption {
  text-align: center;
  margin-top: 0.55rem;
  color: var(--sb-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.sb-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sb-plans article { padding: 1.5rem 1.25rem 1.3rem; }
.sb-plans p { margin: 0; color: var(--sb-muted); font-size: 0.86rem; }
.sb-plans h3 { margin: 0.35rem 0 0.15rem; font-size: 2rem; }
.sb-plans span { display: block; color: var(--sb-muted); margin-bottom: 1rem; }
.sb-pill {
  background: #ecfdf3;
  color: var(--sb-green);
  padding: 0.6rem 1rem;
  font-weight: 700;
  width: 100%;
  margin-bottom: 1rem;
}
.sb-pill-solid { background: var(--sb-green); color: #fff !important; }
.sb-plans ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; color: var(--sb-ink); }
.sb-plans li { padding-left: 1.3rem; position: relative; }
.sb-plans li::before { content: "✓"; position: absolute; left: 0; color: #2f9d62; font-weight: 700; }
.sb-plans .is-live { outline: 2px solid var(--sb-green); }
.sb-fine { color: var(--sb-muted); margin: 1.4rem 0 0; font-size: 0.92rem; }
.sb-fine a { color: var(--sb-green); }

.sb-analytics { background: var(--sb-green); color: #fff; padding: 4.5rem 0; }
.sb-analytics-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center; }
.sb-analytics h2 { color: #fff; margin: 0 0 1rem; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.15; }
.sb-checks-light li { color: #fff; }
.sb-analytics-shot .sb-frame {
  box-shadow: 0 28px 60px rgba(20, 0, 60, 0.28);
  border: 0;
}
.sb-frame-light .sb-frame-bar { background: #dcfce7; color: #15803d; }
.sb-analytics-shot .sb-frame-screen { aspect-ratio: 16 / 10; }

.sb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sb-posts a { display: block; text-decoration: none; color: inherit; padding: 0.7rem 0.7rem 1.1rem; }
.sb-posts img { width: 100%; height: 190px; object-fit: cover; object-position: left top; border-radius: 14px; display: block; }
.sb-posts span {
  display: inline-block;
  margin-top: -0.8rem;
  margin-left: 0.7rem;
  position: relative;
  background: #ecfdf3;
  color: var(--sb-green);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.sb-posts h3 { margin: 0.8rem 0.4rem 0.35rem; font-size: 1.15rem; line-height: 1.3; }
.sb-posts em { display: block; margin: 0 0.4rem; color: var(--sb-muted); font-style: normal; font-size: 0.85rem; }
.sb-reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: 2rem; }
.sb-reqs article { padding: 1rem 1rem 1.1rem; box-shadow: none; background: #f3faf5; }

.sb-ready {
  background: var(--sb-navy);
  padding: 0 1.2rem 3.5rem;
  position: relative;
  z-index: 2;
}
.sb-ready-card {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  transform: translateY(48px);
  background: linear-gradient(100deg, #15803d, #22c55e);
  color: #fff;
  border-radius: 28px;
  padding: 2.5rem 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.sb-ready-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  min-width: 0;
  align-self: stretch;
}
.sb-ready-shot {
  margin: 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #111;
  background: #111;
  box-shadow: 0 18px 36px rgba(20, 0, 60, 0.28);
  aspect-ratio: 4 / 5;
}
.sb-ready-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}
.sb-ready-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sb-ready h2 {
  color: #fff;
  margin: 0.3rem 0 1.1rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  max-width: 18ch;
}
.sb-ready p {
  margin: 0;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.sb-ready-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.sb-store {
  background: #fff;
  color: #122428 !important;
  border: 1.5px solid #fff;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  gap: 0.55rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.sb-store img {
  width: 22px;
  height: auto;
  filter: none;
}
.sb-store:hover {
  background: #f4f0ff;
  transform: translateY(-2px);
}
.sb-store-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75);
}
.sb-store-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.sb-float-buy {
  position: fixed;
  right: 0;
  top: 46%;
  z-index: 40;
  background: #16a34a;
  color: #fff !important;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  font-weight: 800;
  border-radius: 999px 0 0 999px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35);
  gap: 0.45rem;
  animation: sbBuyPulse 2.4s ease-in-out infinite;
}
.sb-float-buy img {
  width: 18px;
  height: auto;
  filter: brightness(0) invert(1);
}
.sb-float-buy:hover {
  background: #15803d;
  color: #fff !important;
}
@keyframes sbBuyPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

body.sasby-home .site-footer {
  background: var(--sb-navy);
  color: #c5cedd;
  border-top: 0;
  padding-top: 3.5rem;
}
body.sasby-home.fluent-home .site-footer { padding-top: 5.5rem; }
body.sasby-home .chat-launcher {
  background: #16a34a !important;
  color: #fff !important;
  border: 2px solid #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35);
  z-index: 60;
}
body.sasby-home .chat-launcher:hover {
  background: #15803d !important;
  color: #fff !important;
}
body.sasby-home .chat-launcher svg {
  color: #fff !important;
  stroke: #fff !important;
}
/* Support chat: cream panel (overrides leftover dark fluent chat tokens) */
body.sasby-home .chat-panel,
body.sasby-home.fluent-home .chat-panel {
  background: #ffffff !important;
  border: 1px solid rgba(18, 36, 40, 0.1) !important;
  color: #122428 !important;
  box-shadow: 0 22px 50px rgba(18, 32, 24, 0.16);
  border-radius: 18px;
  overflow: hidden;
}
body.sasby-home .chat-head,
body.sasby-home.fluent-home .chat-head {
  background: #f3faf5 !important;
  border-bottom: 1px solid rgba(18, 36, 40, 0.08) !important;
  color: #122428 !important;
}
body.sasby-home .chat-head strong { color: #122428 !important; }
body.sasby-home .chat-head span,
body.sasby-home.fluent-home .chat-head span {
  color: #6d7780 !important;
}
body.sasby-home .chat-log,
body.sasby-home.fluent-home .chat-log {
  background: #fffbf8 !important;
  color: #122428 !important;
}
body.sasby-home .bubble.bot,
body.sasby-home .bubble.admin,
body.sasby-home.fluent-home .bubble.bot,
body.sasby-home.fluent-home .bubble.admin {
  background: #ffffff !important;
  border: 1px solid rgba(18, 36, 40, 0.1) !important;
  color: #122428 !important;
}
body.sasby-home .bubble.me,
body.sasby-home.fluent-home .bubble.me {
  background: #ecfdf3 !important;
  color: #122428 !important;
  border: 1px solid rgba(22, 163, 74, 0.18);
}
body.sasby-home .chat-form,
body.sasby-home.fluent-home .chat-form {
  background: #ffffff !important;
  border-top: 1px solid rgba(18, 36, 40, 0.08) !important;
}
body.sasby-home .chat-form input,
body.sasby-home .chat-form textarea,
body.sasby-home.fluent-home .chat-form input,
body.sasby-home.fluent-home .chat-form textarea {
  background: #fffbf8 !important;
  border: 1px solid rgba(18, 36, 40, 0.12) !important;
  color: #122428 !important;
  border-radius: 10px;
}
body.sasby-home .chat-form input::placeholder,
body.sasby-home .chat-form textarea::placeholder,
body.sasby-home.fluent-home .chat-form input::placeholder,
body.sasby-home.fluent-home .chat-form textarea::placeholder {
  color: #6d7780 !important;
}
body.sasby-home .chat-form .btn,
body.sasby-home .chat-form .btn-gold {
  background: #16a34a !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px;
}
body.sasby-home .chat-form .math-wrap,
body.sasby-home .chat-form label {
  color: #6d7780 !important;
}
body.sasby-home .site-footer a,
body.sasby-home .footer-brand span,
body.sasby-home .site-footer h4 { color: #fff; }
body.sasby-home .site-footer a:hover { color: #86efac; }
body.sasby-home .site-footer p,
body.sasby-home .footer-base { color: #9aa6bb; }
body.sasby-home .reel { background: transparent; }
body.sasby-home .reel p { background: transparent; color: var(--sb-ink); }
body.sasby-home .hero-actions.is-desktop { display: none !important; }
body.sasby-home .hero-actions.is-mobile { display: none !important; }
.sb-mobile-only { display: none; }

/* Back to top — left bottom, opposite chat */
.go-top {
  position: fixed;
  left: calc(1.1rem + env(safe-area-inset-left));
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 55;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--sb-green, #16a34a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
}
.go-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.go-top:hover { background: var(--sb-green-deep, #15803d); }
body.fluent-home.fx-dock-open .go-top {
  bottom: calc(4.6rem + env(safe-area-inset-bottom));
}

@media (max-width: 1024px) {
  body.sasby-home .site-header.is-fluent {
    position: sticky;
    z-index: 70;
  }
  body.sasby-home .nav {
    position: relative;
    flex-wrap: nowrap;
  }
  body.sasby-home .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(22, 163, 74, 0.28);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    margin-left: auto;
    z-index: 2;
  }
  body.sasby-home .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 2.5px 0;
    background: #122428;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  body.sasby-home.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  body.sasby-home.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.sasby-home.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  /* Fixed cream sheet under header — full bleed, compact, not a dark slab */
  body.sasby-home .nav-links,
  body.sasby-home.fluent-home .nav-links {
    display: none;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(4rem + env(safe-area-inset-top));
    width: auto;
    max-height: min(62vh, 22rem);
    overflow-y: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.05rem;
    padding: 0.45rem 0.55rem 0.65rem;
    background: #fffbf8 !important;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(18, 32, 24, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 80;
  }
  body.sasby-home .nav-links.open,
  body.sasby-home.fluent-home .nav-links.open {
    display: flex;
  }
  body.sasby-home .nav-links a,
  body.sasby-home.fluent-home .nav-links a {
    color: #122428 !important;
    padding: 0.48rem 0.55rem;
    width: 100%;
    box-shadow: none !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    flex: 1 1 100%;
  }
  body.sasby-home .nav-links a:hover,
  body.sasby-home .nav-links a.is-active,
  body.sasby-home.fluent-home .nav-links a:hover,
  body.sasby-home.fluent-home .nav-links a.is-active {
    color: #16a34a !important;
    background: #ecfdf3;
  }
  body.sasby-home .nav-links .sb-outline,
  body.sasby-home .nav-links .sb-nav-buy,
  body.sasby-home .nav-links a.btn {
    width: calc(50% - 0.2rem) !important;
    flex: 1 1 calc(50% - 0.2rem) !important;
    justify-content: center;
    text-align: center;
    margin-top: 0.3rem;
    padding: 0.6rem 0.7rem !important;
  }
  body.sasby-home .nav-links .sb-outline { margin-right: 0.35rem; }
  body.sasby-home.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(18, 36, 40, 0.28);
    z-index: 65;
  }
}

@media (max-width: 980px) {
  .sb-hero-grid, .sb-head, .sb-progress, .sb-feature-split, .sb-acc-grid, .sb-analytics-grid, .sb-ready-card {
    grid-template-columns: 1fr;
  }
  .sb-stagger, .sb-plans, .sb-posts, .sb-reqs, .sb-quotes, .sb-meter-grid { grid-template-columns: 1fr 1fr; }
  .sb-stagger article:nth-child(even) { margin-top: 0; }
  .sb-hero {
    padding: 1.6rem 0 3.2rem;
  }
  .sb-hero h1 {
    max-width: none;
    font-size: clamp(2.05rem, 8.2vw, 2.85rem);
    line-height: 1.14;
  }
  .sb-checks li { font-size: 0.95rem; }
  .sb-hero-art { min-height: 300px; margin-top: 0.5rem; }
  .sb-float-stat, .sb-float-card { display: none; }
  .sb-window-back { display: none; }
  .sb-window-front {
    position: relative;
    width: 100%;
    height: min(240px, 58vw);
    left: 0;
    top: 0;
    border-width: 6px;
    border-radius: 20px;
  }
  .sb-block { padding: 3.4rem 0; }
  .sb-screens { overflow-x: auto; justify-content: flex-start; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .sb-screen-card, .sb-screen-card.is-mid { width: 180px; flex: 0 0 180px; transform: none; }
  .sb-float-buy { display: none; }
  .sb-ready { padding-bottom: 2.5rem; }
  .sb-ready-card { transform: none; padding: 1.25rem; gap: 1rem; }
  .sb-ready-shot img { height: 140px; }
  .sb-feature-shot .sb-frame { max-width: none; }
  .sb-chip { right: 0.4rem; }
  .sb-desktop-cta { display: none !important; }
  .sb-mobile-only { display: block; }
  body.sasby-home .sb-mobile-only .hero-actions.is-mobile { display: grid !important; width: 100%; }
  body.sasby-home .sb-mobile-only .hero-actions .btn,
  body.sasby-home .sb-mobile-only .hero-actions .sb-btn {
    width: 100%;
    justify-content: center;
  }
  .sb-hero-actions { flex-wrap: wrap; gap: 0.75rem; }
  .sb-down { display: none; }
  .sb-plans article, .sb-stagger article { padding: 1.15rem; }
  body.sasby-home .wrap { width: min(var(--max, 1120px), calc(100% - 1.5rem)); }
}
@media (max-width: 640px) {
  .sb-stagger, .sb-tiles, .sb-plans, .sb-posts, .sb-reqs, .sb-quotes, .sb-meter-grid { grid-template-columns: 1fr; }
  .sb-hero { padding: 1.15rem 0 2.4rem; }
  .sb-hero-art { min-height: 0; padding-top: 0.35rem; }
  .sb-window-front { height: min(210px, 56vw); }
  .sb-block { padding: 2.8rem 0; }
  .sb-head p, .sb-feature-copy p, .sb-acc-copy p { font-size: 0.95rem; }
  .sb-meter-grid article { padding: 1rem 1.05rem; }
  .sb-ready-card { grid-template-columns: 1fr; }
  .sb-ready-shot { order: -1; }
  body.sasby-home .chat-launcher,
  body.sasby-home #chat-toggle {
    right: calc(0.9rem + env(safe-area-inset-right)) !important;
    left: auto !important;
  }
  .go-top {
    left: calc(0.9rem + env(safe-area-inset-left));
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
  }
}

/* Inner pages: same cream / violet system as the homepage shell */
body.sasby-home:not(.fluent-home) .page-hero {
  padding: 3.4rem 0 2rem;
}
body.sasby-home:not(.fluent-home) .page-hero h1 {
  font-family: var(--sb-display, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  max-width: 16ch;
}
body.sasby-home:not(.fluent-home) .kicker {
  color: var(--sb-green, #16a34a);
  letter-spacing: 0.12em;
  font-weight: 700;
}
body.sasby-home:not(.fluent-home) .section,
body.sasby-home:not(.fluent-home) .workflow,
body.sasby-home:not(.fluent-home) .look,
body.sasby-home:not(.fluent-home) .card,
body.sasby-home:not(.fluent-home) .panel {
  color: var(--sb-ink, #122428);
}
body.sasby-home:not(.fluent-home) .btn-ghost {
  border: 1.5px solid rgba(22, 163, 74, 0.28);
  color: var(--sb-green, #16a34a);
  border-radius: 999px;
  background: transparent;
}
body.sasby-home:not(.fluent-home) .btn-ghost:hover {
  background: #ecfdf3;
  color: #15803d;
}
body.sasby-home:not(.fluent-home) .stage {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 32, 24, 0.1);
  border: 1px solid rgba(23, 23, 23, 0.06);
  background: #fff;
}
body.sasby-home:not(.fluent-home) .stage-bar {
  background: #f4f1ec;
  color: #6d7780;
}
body.sasby-home:not(.fluent-home) .stage-tag {
  color: #16a34a;
  background: #ecfdf3;
}
body.sasby-home:not(.fluent-home) .close-band {
  background: linear-gradient(100deg, #15803d, #22c55e);
  color: #fff;
  border: 0;
}
body.sasby-home:not(.fluent-home) .close-band h2,
body.sasby-home:not(.fluent-home) .close-band .kicker,
body.sasby-home:not(.fluent-home) .close-band .lead {
  color: #fff;
}
body.sasby-home:not(.fluent-home) .close-band .btn-gold {
  background: #fff;
  color: #122428 !important;
}
body.sasby-home:not(.fluent-home) .close-band .btn-ghost {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
body.sasby-home:not(.fluent-home) .crumbs a:hover { color: #16a34a; }
body.sasby-home .nav-toggle span { background: #122428; }
