.smb-hero {
  --smb-hero-padding: clamp(24px, 4vw, 40px);

  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: var(--smb-hero-padding);
  background:
    radial-gradient(circle at 8% 8%, rgba(249, 115, 22, 0.17), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.1));
}

.smb-hero-copy {
  min-width: 0;
}

.smb-hero-copy .seo-lead {
  max-width: 60ch;
}

.smb-hero-media {
  min-width: 0;
  margin: 0;
}

.smb-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.smb-hero-media-photo {
  align-self: stretch;
  display: grid;
  overflow: hidden;
}

.smb-hero-media-photo img {
  height: 100%;
  object-fit: cover;
}

.smb-hero-media-punch-card img {
  object-position: right center;
}

.smb-client-habit-hero .smb-hero-media-photo img {
  object-position: right center;
}

.smb-hero-media-phone-preview {
  background: #fff;
}

.smb-hero-with-bleed-media {
  overflow: hidden;
}

.smb-hero-with-bleed-media .smb-hero-media-bleed {
  margin: calc(-1 * var(--smb-hero-padding)) calc(-1 * var(--smb-hero-padding)) calc(-1 * var(--smb-hero-padding)) 0;
}

.smb-hero-demo {
  position: relative;
  min-width: 0;
}

.smb-hero-demo .seo-live-demo-grid {
  max-width: none;
  margin-top: 14px;
}

.smb-hero-demo .seo-phone-frame {
  max-width: 300px;
}

.smb-hero-notices {
  display: grid;
  gap: 10px;
  max-width: 60ch;
  margin-top: 20px;
}

.smb-hero-notice {
  padding: 14px 18px;
  border: 1px solid rgba(96, 165, 250, 0.8);
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.16);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.smb-hero-notice.smb-hero-notice-maintenance {
  border-color: rgba(251, 191, 36, 0.8);
  background: rgba(245, 158, 11, 0.15);
}

.smb-hero-notice-title {
  margin: 0;
  color: var(--heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.smb-hero-notice-message {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
  white-space: pre-line;
}

.smb-feature-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.smb-feature-card p {
  margin-bottom: 0;
}

.smb-feature-card a {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
}

.smb-use-case-card {
  position: relative;
  overflow: hidden;
}

.smb-use-case-card::before {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.smb-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.smb-flow-step {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--card);
  color: var(--heading);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.smb-event-journey {
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 93% 12%, rgba(249, 115, 22, 0.15), transparent 28%),
    radial-gradient(circle at 6% 88%, rgba(59, 130, 246, 0.14), transparent 32%),
    linear-gradient(135deg, var(--card), var(--surface-ghost));
  box-shadow: var(--shadow-card);
}

.smb-event-journey-heading {
  max-width: 780px;
}

.smb-event-journey-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.7vw, 2.7rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.smb-event-journey-heading .seo-section-intro {
  max-width: 740px;
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.68;
}

.smb-event-journey-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.smb-event-journey-pills button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--surface-ghost);
  color: var(--text-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.smb-event-journey-pills button:hover,
.smb-event-journey-pills button:focus-visible,
.smb-event-journey-pills button.is-active {
  border-color: rgba(249, 115, 22, 0.68);
  background: rgba(249, 115, 22, 0.16);
  color: var(--heading);
}

.smb-event-journey-pills button:hover {
  transform: translateY(-1px);
}

.smb-event-journey-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: #090d15;
}

.smb-event-journey-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.22s ease,
    transform 0.35s ease;
}

.smb-event-journey-media.is-changing > img {
  opacity: 0.42;
  transform: scale(1.02);
}

.smb-event-journey-action-label {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(154, 52, 18, 0.24);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.94);
  box-shadow: 0 10px 22px rgba(76, 30, 8, 0.14);
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
}

.smb-event-journey-action-label.is-left {
  right: auto;
  left: 22px;
}

.smb-event-journey-save-callout {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(110, 231, 183, 0.4);
  border-radius: 999px;
  background: rgba(5, 16, 17, 0.86);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  color: #ecfdf5;
  font-size: 0.8rem;
  font-weight: 800;
}

.smb-event-journey-save-callout span {
  color: #34d399;
}

.smb-event-journey-phone {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 3vw, 34px);
  bottom: 0;
  width: clamp(130px, 18vw, 198px);
  padding: 6px 6px 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(7, 11, 19, 0.84);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.28);
}

.smb-event-journey-folio-preview {
  position: absolute;
  z-index: 2;
  right: clamp(142px, 17vw, 220px);
  bottom: 28px;
  width: clamp(150px, 16vw, 190px);
  padding: 13px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 15px;
  background: rgba(5, 12, 19, 0.88);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  transform: rotate(-2deg);
  transform-origin: bottom right;
}

.smb-event-journey-folio-preview > p,
.smb-event-journey-folio-preview ul,
.smb-event-journey-folio-preview li,
.smb-event-journey-folio-note {
  margin: 0;
}

.smb-event-journey-folio-preview > p {
  color: #7dd3fc;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smb-event-journey-folio-preview ul {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.smb-event-journey-folio-preview li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.smb-event-journey-folio-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #09111d;
  font-size: 0.52rem;
  font-weight: 900;
}

.smb-event-journey-folio-preview strong {
  overflow: hidden;
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smb-event-journey-folio-preview em {
  padding: 3px 4px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  color: #bae6fd;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 800;
}

.smb-event-journey-folio-note {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6rem;
  font-weight: 700;
}

.smb-event-journey-folio-preview .avatar-blue {
  background: #7dd3fc;
}

.smb-event-journey-folio-preview .avatar-orange {
  background: #fdba74;
}

.smb-event-journey-folio-preview .avatar-green {
  background: #6ee7b7;
}

.smb-event-journey-phone img {
  display: block;
  width: 100%;
  border-radius: 12px 12px 7px 7px;
}

.smb-event-journey-phone span {
  display: block;
  padding-top: 5px;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 800;
  text-align: center;
}

.smb-event-journey-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 0;
  margin-top: 18px;
}

.smb-event-journey-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--surface-subtle);
}

.smb-event-journey-step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(249, 115, 22, 0.58);
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74;
  font-size: 0.85rem;
  font-weight: 900;
}

.smb-event-journey-step p,
.smb-event-journey-step h3,
.smb-event-journey-step span {
  margin: 0;
}

.smb-event-journey-step p {
  color: #fb923c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.smb-event-journey-step h3 {
  margin-top: 4px;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1.3;
}

.smb-event-journey-step div > span {
  display: block;
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.smb-event-journey-connector {
  position: relative;
  display: block;
  min-height: 100%;
}

.smb-event-journey-connector::before {
  position: absolute;
  top: 35px;
  right: 4px;
  left: 4px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.7), rgba(125, 211, 252, 0.72));
}

.smb-event-journey-connector::after {
  position: absolute;
  top: 25px;
  left: 50%;
  width: 19px;
  height: 19px;
  content: '›';
  transform: translateX(-50%);
  border: 1px solid rgba(249, 115, 22, 0.55);
  border-radius: 50%;
  background: #121b2c;
  color: #fdba74;
  font-size: 1rem;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.smb-event-journey-actions {
  margin-top: 24px;
}

.smb-event-journey-actions .seo-button-primary {
  min-height: 54px;
  padding: 0 26px;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.26);
  font-size: 1rem;
}

.smb-media-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.smb-media-panel-habit-cards {
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: 28px;
}

.smb-media-panel-dual-phone-previews {
  grid-template-columns: minmax(0, 1fr) minmax(586px, 1.08fr);
}

.smb-media-panel-dual-phone-previews > div:first-child h2 {
  max-width: 26ch;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.smb-media-panel-dual-phone-previews > div:first-child .seo-section-intro {
  max-width: 48rem;
  margin: 16px 0 0;
  line-height: 1.65;
}

.smb-media-panel-dual-phone-previews > div:first-child .seo-actions {
  margin-top: 24px;
}

.smb-media-panel-loyalty-preview {
  grid-template-columns: minmax(0, 0.8fr) minmax(622px, 1fr);
}

.smb-media-panel-loyalty-preview > div:first-child h2 {
  max-width: 25ch;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.smb-media-panel-loyalty-preview > div:first-child .seo-section-intro {
  max-width: 48rem;
  margin: 16px 0 0;
  line-height: 1.65;
}

.smb-media-panel-loyalty-preview > div:first-child .smb-kicker-list {
  margin-top: 22px;
  gap: 14px;
}

.smb-media-panel-punch-card-preview > div:first-child h2 {
  max-width: 27ch;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.smb-media-panel-punch-card-preview > div:first-child .seo-section-intro {
  max-width: 48rem;
  margin: 16px 0 0;
  line-height: 1.65;
}

.smb-media-panel-punch-card-preview > div:first-child .smb-kicker-list {
  gap: 14px;
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.6;
}

.smb-media-panel figure {
  margin: 0;
}

.smb-punch-card-preview-stack {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.smb-media-panel .smb-punch-card-preview-stack img {
  max-width: 360px;
  margin: 0;
}

.smb-dual-phone-previews {
  display: grid;
  grid-template-columns: repeat(2, 284px);
  gap: 18px;
  align-items: end;
  justify-content: end;
}

.smb-loyalty-previews {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.smb-loyalty-reward-card-stack {
  display: grid;
  gap: 16px;
  align-self: center;
}

.smb-profile-card-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 620 / 397;
  border-radius: 18px;
}

.smb-media-panel .smb-profile-card-preview img {
  position: absolute;
  top: -64.1%;
  left: -166.4%;
  width: 432%;
  max-width: none;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.smb-phone-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 284 / 562;
}

.smb-media-panel .smb-phone-preview img {
  position: absolute;
  top: -7%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 114%;
  margin: 0;
  border: 0;
  border-radius: 0;
  transform: translateX(-50%);
}

.smb-media-panel .smb-loyalty-punch-card {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow-banner);
}

.smb-media-panel img {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow-banner);
}

.smb-habit-card-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  margin: 0;
}

.smb-media-panel .smb-habit-card-previews img {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 18px;
}

.smb-networking-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 6%, rgba(249, 115, 22, 0.12), transparent 28%),
    linear-gradient(135deg, var(--card), var(--surface-ghost));
  box-shadow: var(--shadow-card);
}

.smb-networking-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  background: #0b0f18;
  isolation: isolate;
}

.smb-networking-event-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.smb-networking-copy {
  padding: clamp(28px, 4vw, 48px);
}

.smb-networking-folio-preview {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  width: min(266px, calc(100% - 36px));
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(7, 11, 19, 0.9);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.smb-networking-folio-kicker,
.smb-networking-folio-title,
.smb-networking-note {
  margin: 0;
}

.smb-networking-folio-kicker {
  color: #fb923c;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.smb-networking-folio-title {
  margin-top: 4px;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 800;
}

.smb-networking-folio-preview ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.smb-networking-folio-preview li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #fff;
}

.smb-networking-folio-preview li span:nth-child(2) {
  min-width: 0;
}

.smb-networking-folio-preview strong,
.smb-networking-folio-preview small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smb-networking-folio-preview strong {
  font-size: 0.72rem;
}

.smb-networking-folio-preview small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.smb-networking-avatar {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #07111f;
  font-size: 0.58rem;
  font-weight: 900;
}

.smb-networking-avatar-orange {
  background: #fb923c;
}

.smb-networking-avatar-blue {
  background: #7dd3fc;
}

.smb-networking-avatar-green {
  background: #6ee7b7;
}

.smb-networking-folio-preview em {
  padding: 3px 5px;
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 999px;
  color: #fed7aa;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 800;
}

.smb-networking-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  line-height: 1.45;
}

.smb-networking-card-preview {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: clamp(118px, 20vw, 178px);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 15px;
  background: rgba(7, 11, 19, 0.8);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.smb-networking-card-preview img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.smb-networking-card-preview span {
  display: block;
  padding: 5px 3px 2px;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  text-align: center;
}

.smb-networking-copy .seo-section-intro {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

.smb-networking-copy h2 {
  margin: 0;
  font-size: clamp(1.72rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.smb-networking-copy .smb-kicker-list {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.004em;
}

.smb-networking-copy .seo-actions {
  margin-top: 24px;
}

.smb-kicker-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.smb-kicker-list li {
  position: relative;
  padding-left: 26px;
}

.smb-kicker-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 800;
}

.smb-quote {
  max-width: 52ch;
  margin: 20px 0 0;
  color: var(--heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.smb-fact {
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--surface-ghost);
  color: var(--text-soft);
  line-height: 1.75;
}

.smb-page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.smb-page-links .seo-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.smb-page-links .seo-card a {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
}

.smb-table-wrap {
  margin-top: 24px;
}

.smb-digital-rewards-comparison {
  table-layout: fixed;
}

.smb-digital-rewards-comparison th,
.smb-digital-rewards-comparison td {
  width: 50%;
}

.smb-digital-rewards-comparison th:first-child {
  color: #ffedd5;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.24), rgba(249, 115, 22, 0.08));
}

.smb-digital-rewards-comparison td:first-child {
  color: var(--text);
  background: rgba(249, 115, 22, 0.08);
  box-shadow: inset -1px 0 0 rgba(249, 115, 22, 0.18);
}

.smb-digital-rewards-comparison td:nth-child(2) {
  color: var(--text-muted);
}

html.theme-light .smb-digital-rewards-comparison th:first-child {
  color: #9a3412;
}

.smb-hub-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.smb-hub-category {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.smb-hub-category-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background: var(--surface-ghost);
}

.smb-hub-category-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.smb-hub-category:hover .smb-hub-category-media img {
  transform: scale(1.025);
}

.smb-hub-category-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.smb-hub-category-content p {
  margin: 12px 0 0;
}

.smb-hub-category-content .seo-pill-list {
  margin-top: 18px;
}

.smb-hub-category-content .seo-actions {
  margin-top: auto;
  padding-top: 22px;
}

.smb-hub-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

.smb-hub-needs {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.smb-hub-needs .seo-table-wrap {
  margin: 0;
  overflow: hidden;
}

.smb-tool-plan-table {
  min-width: 0;
  table-layout: fixed;
  font-size: 0.9rem;
}

.smb-tool-plan-table th,
.smb-tool-plan-table td {
  padding: 12px 14px;
  overflow-wrap: normal;
}

.smb-tool-plan-table th:nth-child(1),
.smb-tool-plan-table td:nth-child(1) {
  width: 46%;
}

.smb-tool-plan-table th:nth-child(2),
.smb-tool-plan-table td:nth-child(2) {
  width: 34%;
}

.smb-tool-plan-table th:nth-child(3),
.smb-tool-plan-table td:nth-child(3) {
  width: 20%;
}

.smb-plan-cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.smb-use-case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.smb-use-case-filter {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--surface-ghost);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.smb-use-case-filter:hover,
.smb-use-case-filter.is-active {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.14);
  color: var(--heading);
}

.smb-use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.smb-use-case-grid .smb-use-case-card::before {
  display: none;
}

.smb-use-case-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.smb-use-case-card--text {
  padding: 22px;
}

.smb-use-case-card.is-filtered-out {
  display: none;
}

.smb-use-case-image {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background: var(--surface-ghost);
}

.smb-use-case-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.smb-use-case-card:hover .smb-use-case-image img {
  transform: scale(1.02);
}

.smb-use-case-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.smb-use-case-content .seo-eyebrow {
  margin-bottom: 10px;
}

.smb-use-case-content h3 {
  margin: 0;
}

.smb-use-case-content > p {
  margin: 12px 0 0;
}

.smb-use-case-content .seo-pill-list {
  margin-top: 18px;
}

.smb-use-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.smb-use-case-disclaimer {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.smb-use-case-plan-cta {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.1), var(--surface-subtle));
  box-shadow: var(--shadow-card);
}

.smb-use-case-plan-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.smb-use-case-plan-cta .seo-section-intro {
  max-width: 60ch;
  margin: 16px 0 0;
}

.smb-use-case-plan-cta .seo-actions {
  margin-top: 24px;
}

.smb-use-case-product-previews {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  order: -1;
  width: 100%;
  margin: 0;
}

.smb-use-case-product-previews .smb-phone-preview {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.smb-use-case-product-previews .smb-phone-preview img {
  position: absolute;
  top: -7%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 114%;
  margin: 0;
  border: 0;
  border-radius: 0;
  transform: translateX(-50%);
}

html.theme-light .smb-hero {
  background:
    radial-gradient(circle at 8% 8%, rgba(249, 115, 22, 0.11), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 243, 250, 0.88));
}

@media (max-width: 1120px) {
  .smb-media-panel-loyalty-preview {
    grid-template-columns: 1fr;
  }

  .smb-loyalty-previews {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .smb-hero,
  .smb-media-panel,
  .smb-networking-story,
  .smb-hub-needs {
    grid-template-columns: 1fr;
  }

  .smb-media-panel-dual-phone-previews {
    grid-template-columns: 1fr;
  }

  .smb-media-panel-loyalty-preview {
    grid-template-columns: 1fr;
  }

  .smb-dual-phone-previews {
    justify-content: center;
  }

  .smb-loyalty-previews {
    justify-content: center;
  }

  .smb-flow,
  .smb-page-links,
  .smb-hub-category-grid,
  .smb-use-case-grid {
    grid-template-columns: 1fr;
  }

  .smb-flow-step {
    min-height: 64px;
  }

  .smb-plan-cta-actions {
    justify-content: flex-start;
    margin-top: 4px;
  }
}

@media (max-width: 680px) {
  .smb-dual-phone-previews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .smb-loyalty-previews {
    grid-template-columns: minmax(0, 1fr);
  }

  .smb-loyalty-previews .smb-phone-preview {
    width: min(284px, 100%);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .smb-event-journey-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .smb-event-journey-connector {
    display: none;
  }
}

@media (max-width: 560px) {
  .smb-use-case-product-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smb-use-case-product-previews .smb-phone-preview:last-child {
    grid-column: 2;
  }

  .smb-tool-plan-table {
    font-size: 0.78rem;
  }

  .smb-tool-plan-table th,
  .smb-tool-plan-table td {
    padding: 10px 8px;
  }

  .smb-habit-card-previews {
    grid-template-columns: 1fr;
    width: min(350px, 100%);
    margin: 0 auto;
  }

  .smb-event-journey {
    padding: 16px;
    border-radius: 22px;
  }

  .smb-event-journey-media {
    min-height: 0;
    margin-top: 22px;
  }

  .smb-event-journey-action-label {
    top: 14px;
    right: 14px;
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .smb-event-journey-action-label.is-left {
    right: auto;
    left: 14px;
  }

  .smb-event-journey-folio-preview {
    display: none;
  }

  .smb-networking-story {
    padding: 0;
    border-radius: 22px;
  }

  .smb-networking-visual {
    min-height: 420px;
    border-radius: 22px 22px 0 0;
  }

  .smb-networking-copy {
    padding: 24px;
  }
}
